21

When I insert a schedule with C-c C-s in Emacs org-mode, it always inserts a date like this:

* TODO write product documents
  SCHEDULED: <2013-10-25 Fri>

while what I want is this:

* TODO write product documents
  SCHEDULED: <2013-10-25 Fri 11:34> 

Now I do this manually: firstly insert a schedule, then delete the date, then insert a timestamp with date and time using C-u C-c ..

How can I insert a schedule with date and time only using C-c C-s?

Thanks.

itsjeyd
  • 4,739
  • 2
  • 26
  • 47
Leo
  • 1,418
  • 1
  • 19
  • 27
  • 2
    Function `org-schedule` doesn't support time substring in `time-stamp`, date only. You want `org-mode` automatically inserts time value, but which by default? – artscan Oct 23 '13 at 05:14
  • @artscan, I don't know which function can insert time string. I think the most convenient way is the best. – Leo Oct 23 '13 at 05:43
  • 1
    What does `11:34` mean in your example? You schedule time in a future. If I use `C-u C-c .` it inserts current time. Do you want `C-c C-s` inserts current time for schedule too? – artscan Oct 23 '13 at 06:13

1 Answers1

40

When you're being asked for a date at the prompt, you can also enter a time. e.g. if I say "+2d 1pm" at the prompt, I get SCHEDULED: <2013-10-25 ven. 13:00> in the buffer. See Info page (info "(org) The date/time prompt") for more info about the prompt.

Matt
  • 657
  • 6
  • 12
YoungFrog
  • 882
  • 9
  • 13