[Zope] ZopeTime Question

Andrew Kenneth Milton akm@mail.theinternet.com.au
Thu, 19 Oct 2000 11:19:13 +1000


+-------[ Marcus Mendes ]----------------------
| Hello,
| 
| Why the ZopeTime puts the differents values in the code bellow?
| 
| <dtml-with ZopeTime>
|    <dtml-var "'This is %s, %s/%s/%i , %s' % (Day(), dd(), mm(), year(),
| TimeMinutes())" capitalize>
|    <dtml-var " '%s'  % strftime('%A')" capitalize>
| </dtml-with>
| 
| The first <dtml-var ...>  give me todays date;
| the second <dtml-var ...> give me the tomorrow date!!
| 
| How can I obtain the todays date using fmt=%A sintaxe?

Explicitly pass your TimeZone into ZopeTime as well.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|