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:
Ampersand Character (&) (1997)
Setting up shop (1997)
Re:UPS, FEDEX TRACKING (1999)
Enhancement Request for WebCatalog-NT (1996)
month or year from date field in lineitems? (1998)
[WebDNA] WebDNA not parsing php files (2012)
my price won't move (1997)
http://www.smithmicro.com/WebDNAReference/ current? (2000)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
[searchString] (1997)
Answer: WebDelivery downloads alias, not original ? (1997)
Shipping charges depending on tax rate? (1997)
Math problems (1998)
PCS Frames (1997)
NT Photo manip. util. needed (2000)
RE: WebCatalog2 for NT Beta Request (1997)
Carts & cookies (1999)
[Semi-OT] encrypted variable in URL (2005)
Help! WebCat2 bug (1997)
protect tag on NT IIS (1997)