Myriam Abramson <mabram...@gmail.com> writes:

> Thanks! that's what I was looking for. 
>
>                                    myriam
>
> Matt Lundin <m...@imapmail.org> writes:
>>
>> (format-time-string "CLOSED: [%Y-%m-%d %H:%M]" (date-to-time 
>> "2003-10-22T18:27:00.000-04:00"))
>>
>> ...which returns...
>>
>> CLOSED: [2003-10-22 14:27]
>>
>> (The time zone parsing may need some adjustment.)

Oops. I forgot the day of week.

--8<---------------cut here---------------start------------->8---
(format-time-string "CLOSED: [%Y-%m-%d %a %H:%M]"
                    (date-to-time "2003-10-22T18:27:00.000-04:00"))
--8<---------------cut here---------------end--------------->8---

CLOSED: [2003-10-22 Wed 14:27]

Best,
Matt

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to