[Zope] - Problem with "date" variable

Kevin Littlejohn Kevin Littlejohn <darius@connect.com.au>
Tue, 19 Jan 1999 17:30:07 +1100


Ok, mindlessly simple question time:

If you've got a time in epoch form (for example, coming out of a database),
how would you translate that into a DateTime object?

KevinL

>>> Jim Fulton wrote
> FR Chalaoux wrote:
> > 
> > Hi There,
> > 
> > Tying to play with date variable <!--#var date fmt=DayOfWeek-->, I
> > Obtained the following error :
> 
> Do you have a date variable defined?  It looks like you don't.
> 
> It you want the current date and time, use PrincipiaTime:
> 
>   <!--#var PrincipiaTime fmt=DayOfWeek-->
> 
> (Note that this will be renamed ZopeTime in 1.10, 
>  although PrincipiaTime will still work.)
> 
> Jim

--------------- qnevhf@obsu.arg.nh ---------------
Kevin Littlejohn,
Technical Architect, Connect.com.au
Don't anthropomorphise computers - they hate that.