Hi, Try this: <!--#var "PrincipiaTime(EPOCHDATE)"--> Where EPOCHDATE coming from a SQLMethod. Arpad Kiss <199901190630.raa2909-@nara.off.connect.com.au> wrote: Original Article: http://www.egroups.com/list/zope/?start=1221
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.