This may sound like a strange question, but is there any facility in DTML for displaying the current date/time? It seems that I need to write an external python method to return the current date/time? This is easy enough, but it doesn't seem right. Is this correct or did I miss something? John
<!--#var ZopeTime--> There are a bunch of formatting options as well (check out the DTML User's Guide). Kevin On Thu, Feb 18, 1999 at 01:44:49PM -0600, John Eastman wrote: ,----- | This may sound like a strange question, but is there any facility in DTML | for displaying the current date/time? | It seems that I need to write an external python method to return the | current date/time? This is easy enough, but it doesn't seem right. Is this | correct or did I miss something? | | John | | | | | _______________________________________________ | Zope maillist - Zope@zope.org | http://www.zope.org/mailman/listinfo/zope `----- -- Kevin Dangoor UUnet Technologies kid@ans.net / 734-214-7349
On 18 Feb 99, at 13:44, John Eastman wrote:
This may sound like a strange question, but is there any facility in DTML for displaying the current date/time? It seems that I need to write an external python method to return the current date/time? This is easy enough, but it doesn't seem right. Is this correct or did I miss something?
<!--#var "PrincipiaTime()" fmt=Date--> Many other formats are available... see dhtml user's guide. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com ICQ: 14856937
participants (3)
-
Brad Clements -
John Eastman -
Kevin Dangoor