Search code examples
emacsformatorg-modeschedule

How to insert schedule with date and time in Emacs org-mode


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.


Solution

  • 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.