|
| From: | Matt Lundin |
| Subject: | [Orgmode] Re: Help with migrating blog to org-mode format |
| Date: | Tue, 11 Jan 2011 23:00:28 -0500 |
| User-agent: | Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Myriam Abramson <address@hidden> writes:
> Thanks! that's what I was looking for.
>
> myriam
>
> Matt Lundin <address@hidden> 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
| [Prev in Thread] | Current Thread | [Next in Thread] |