Re: Formatting dates stored in db

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49275
interpreted = N
texte = On 4/7/03 3:57 PM, WJ Starck wrote:> What's the best way to convert from my format (YYYYMMDD) to MM/DD/YYYY? Don't know if its the best way, but it will work.[text]monthvar=[getchars start=5&end=6][thedatefield][/getchars][/text] [text]dayvar=[getchars start=7&end=8][thedatefield][/getchars][/text] [text]yearvar=[getchars start=1&end=4][thedatefield][/getchars][/text] [text]newdate=[monthvar]/[dayvar]/[yearvar][/text]HTH AlexAlex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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: Problem with formatting dates stored in db ( "Jesse Crofoot" 2003)
  2. Re: Problem with formatting dates stored in db ( Jay Van Vark 2003)
  3. Problem with formatting dates stored in db ( "Jesse Crofoot" 2003)
  4. Re: Formatting dates stored in db (Velma Kahn 2003)
  5. Re: Formatting dates stored in db (Rob 2003)
  6. Re: Formatting dates stored in db (WJ Starck 2003)
  7. Re: Formatting dates stored in db (WJ Starck 2003)
  8. Re: Formatting dates stored in db (Rob 2003)
  9. Re: Formatting dates stored in db (WJ Starck 2003)
  10. Re: Formatting dates stored in db (Matthew A Perosi 2003)
  11. Re: Formatting dates stored in db (Alex McCombie 2003)
  12. Re: Formatting dates stored in db (WJ Starck 2003)
  13. Re: Formatting dates stored in db (WJ Starck 2003)
  14. Re: Formatting dates stored in db (Donovan 2003)
  15. Re: Formatting dates stored in db (Alex McCombie 2003)
  16. Re: Formatting dates stored in db (Donovan 2003)
  17. Re: Formatting dates stored in db (WJ Starck 2003)
  18. Formatting dates stored in db (WJ Starck 2003)
On 4/7/03 3:57 PM, WJ Starck wrote:> What's the best way to convert from my format (YYYYMMDD) to MM/DD/YYYY? Don't know if its the best way, but it will work.[text]monthvar=[getchars start=5&end=6][thedatefield][/getchars][/text] [text]dayvar=[getchars start=7&end=8][thedatefield][/getchars][/text] [text]yearvar=[getchars start=1&end=4][thedatefield][/getchars][/text] [text]newdate=[monthvar]/[dayvar]/[yearvar][/text]HTH AlexAlex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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/ Alex McCombie

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:

multiple price line in formula.db (2004) WebCatalog for guestbook ? (1997) New public beta available (1997) Invisible file issue now a real 'bug' (1999) Bug? (1997) Search in 2 or more catalogs (1997) XML Woes Revisited (2004) SOP for WebDNA talk (2004) Superfilous Characters (1998) shownext & math (1997) Email (1998) [shownext] and descending order (1997) Possible Bug in 2.0b15.acgi (1997) Webcat DB's over appletalk (2003) Excluding orders from WebMerchant processing (1998) supressing math results (1997) OS X problem: when using [ShowCart] or [orderfile]... (2000) Problem with version 4 browsers (1998) Threaded Discussion (1998) Counting LineItems (2000)