[Zope] Julian Date
Tim Cook
tim@freepm.org
Mon, 14 May 2001 14:04:47 -0500
matt standish wrote:
>
> Has anyone out there ever been able to work with Julian dates with ZOPE? If
> you are unfamiliar with a Julian date it is the year followed by the number
> of day. example: today is 01134 day. 01 is the year, today is the 134th
> day of the year. Thanks.
In DTML:
<dtml-var expr="_.DateTime().yy()[1]"><dtml-var
expr="_.DateTime().dayOfYear()">
It would be cleaner in a Python Script though.
--
Tim Cook, President - FreePM,Inc.
http://www.FreePM.com Office: (731) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM