|
From: | François Pinard |
Subject: | Re: [O] Convert from date to week number, howto? |
Date: | Sun, 12 Feb 2012 00:17:53 -0500 |
User-agent: | Gnus/5.130002 (Ma Gnus v0.2) Emacs/23.3 (gnu/linux) |
> François Pinard <address@hidden> wrote: >> I sometimes have to convert from a date to a week number Nick Dokos <address@hidden> writes: > org-days-to-iso-week Jambunathan K <address@hidden> writes: > (org-odt-format-date "<2011-12-31 Sat>" "%U") > (org-odt-format-date "[2011-12-24 Sat]" "%U") Georges Ko <address@hidden> writes: > (require 'calendar) > (require 'cal-iso) > (car > (calendar-iso-from-absolute > (calendar-absolute-from-gregorian > (list month day year)))) Thanks for these solutions! François
[Prev in Thread] | Current Thread | [Next in Thread] |