I’ve found no easy way. I do wish that FORMAT had a set of non-leading-zero variables.

 

My work around:

 

<@CALC <@CURRENTDATE format=datetime:%m>>/<@CALC <@CURRENTDATE format=datetime:%d>>/<@CALC <@CURRENTDATE format=datetime:%y>>

 

If you need to use something like this often, you might want to consider building a custom tag.

 

Robert

 


From: WebDude [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 8:51 AM
To: [email protected]
Subject: Witango-Talk: Date Format

 

Witango 2000

 

Probably a stupid question, but is there a way to format a date as 2/6/06? (drop 0s in front of the month and day) I cannot find a date format like this. The best I can widdle it down is 02/06/06.

 

 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to