Re: Silly date question
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 68169
interpreted = N
texte = There may be a more elegant way, but I'll offer:[text show=f]startdate=3/4/2006[/text][ListWords Words=[startdate]&Delimiters=/][format .2d][word][/format][hideif [index]=3]/[/hideif][/ListWords]GJKAt 11:02 AM 11/21/2006, you wrote:>Hi>>Sorry but it's late in the day!>>I have a variable [StartDate] which stores a date value in dd/mm/yyyy >format. On occasion it could be d/mm/yyyy or dd/m/yyyy, is there a >way I can format it to always be dd/mm/yyyy ie never 3/4/2006 always >03/04/2006.>>I know it should be stored as a number but unfortunately I have to >work with what I have.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
There may be a more elegant way, but I'll offer:[text show=f]startdate=3/4/2006[/text][ListWords Words=[startdate]&Delimiters=/][format .2d][word][/format][hideif [index]=3]/[/hideif][/ListWords]GJKAt 11:02 AM 11/21/2006, you wrote:>Hi>>Sorry but it's late in the day!>>I have a variable [StartDate] which stores a date value in dd/mm/yyyy >format. On occasion it could be d/mm/yyyy or dd/m/yyyy, is there a >way I can format it to always be dd/mm/yyyy ie never 3/4/2006 always >03/04/2006.>>I know it should be stored as a number but unfortunately I have to >work with what I have.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Gary Krockover
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Error Msg (1998)
Emailer (WebCat2) (1997)
is there a global includes directory? (1998)
WebCat2 - [SendNews] (1997)
Sun doesn't have an emailer app? (2000)
php vs WebCatalog (2000)
Separate SSL Server (1997)
Prevent multiple appends with Reload Button (1997)
Running _every_ page through WebCat ? (1997)
RE: Adding headers to email (1997)
FM and Webcat together? (1998)
Spreadsheet App pref. [OT] (2001)
ShowNext for method=POST (1997)
Busted at the Border (1998)
Help! WebCat2 bug (1997)
Problems with [Applescript] (1997)
$Quit, $CloseDatabase corrections (1997)
HomePage Caution (1997)
[GROUPS] followup (1997)
Weird [date] and [time] problems. (2003)