emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Convert from date to week number, howto?


From: Jambunathan K
Subject: Re: [O] Convert from date to week number, howto?
Date: Thu, 02 Feb 2012 22:32:03 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt)

> I sometimes have to convert from a date to a week number, 

Try this. 

(org-odt-format-date "<2011-12-31 Sat>" "%U")
(org-odt-format-date "[2011-12-24 Sat]" "%U")

You can steal the implementation. The functions have nothing to do with
org-odt, btw.

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]