[Zope] Julian Date

matt standish mps_@hotmail.com
Mon, 14 May 2001 15:26:34 -0500


thanks for you help!

----- Original Message -----
From: "Tim Cook" <twcook@iswt.com>
To: "matt standish" <mps_@hotmail.com>
Cc: <zope@zope.org>
Sent: Monday, May 14, 2001 14:04
Subject: Re: [Zope] Julian Date


> 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
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>