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] GJK At 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:

    
  1. Re: Silly date question ( Donovan Brooke 2006)
  2. Re: Silly date question ( Donovan Brooke 2006)
  3. Re: Silly date question ( Steve Craig 2006)
  4. Re: Silly date question ( Steve Craig 2006)
  5. Re: Silly date question ( Donovan Brooke 2006)
  6. Re: Silly date question ( Gary Krockover 2006)
  7. Re: Silly date question ( Donovan Brooke 2006)
  8. Silly date question ( Steve Craig 2006)
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] GJK At 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:

Time to opensource? was [SMSI] WebDNA is too good to (2006) StoreBuilder and PayPal (2002) [WebDNA] Quick Date Question (2008) WebCat2b13MacPlugin - [math][date][/math] problem (1997) WebCat 5 Intranet Question (2003) Cookies and webcat (1997) New Plug-in and Type 11 errors (1997) [BULK] [WebDNA] [BULK] looking for the holy grail of hosting still (2013) Record size (1998) [Capitalize] (1998) [WebDNA] why is the webdna.us site slow? (sometimes?) (2011) Weird Problem (1997) send mail problem? (1997) Error reading data -1 (1997) OK, here goes... (1997) Sorting error (1997) OH MY GOD! (1998) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Memory Error message (1998) Cookie still not working (1999)