Problem with formatting dates stored in db

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52328
interpreted = N
texte = I've been going through the talk archives trying to find some help on formatting dates that are stored in a database and haven't had much luck. I'm trying to format dates stored in the datebase like this 08/19/2003 and want that date displayed as Tue 08/19. Below are the current Prefernce Settings in the WebDNA Admin and the code in question. Any help on this would be greatly appreciated. WebDNA - Commerce Edition is running as unix-Cobalt Intel Unix Apache Module version 4.5.1 Current WebDNA Preferences: Date Display Format: %m/%d/%Y Read Date Format: Month/Day/year (American) Math to use Date Display Format?: No Code: [format days_to_date %a %m/%d][gamedate][/format] The [gamedate] variable is stored in the datebase as 08/19/2003 Output: Sun 01/08 Any assistance on this would be greatly appreciated. ------------------------------------------------------------- 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)
I've been going through the talk archives trying to find some help on formatting dates that are stored in a database and haven't had much luck. I'm trying to format dates stored in the datebase like this 08/19/2003 and want that date displayed as Tue 08/19. Below are the current Prefernce Settings in the WebDNA Admin and the code in question. Any help on this would be greatly appreciated. WebDNA - Commerce Edition is running as unix-Cobalt Intel Unix Apache Module version 4.5.1 Current WebDNA Preferences: Date Display Format: %m/%d/%Y Read Date Format: Month/Day/year (American) Math to use Date Display Format?: No Code: [format days_to_date %a %m/%d][gamedate][/format] The [gamedate] variable is stored in the datebase as 08/19/2003 Output: Sun 01/08 Any assistance on this would be greatly appreciated. ------------------------------------------------------------- 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/ "Jesse Crofoot"

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:

[SearchString] usage (1997) Re:2nd WebCatalog2 Feature Request (1996) Cart Question (1998) WebCommerce: Folder organization ? (1997) (2000) Claris HomePage messes up the code (1997) [table] and simultaneous users (2008) [WebDNA] OT: 2 php/MySQL & 1 Flash person needed FT (2008) REALLY need a hand (1999) Newbie from and old bee (1997) where to put code (1998) Protect (1997) [WebDNA] Email sending issue (2017) please anybody help (2005) lookup and two records? (1997) WebCat, The Trend, & Consolidating... (1997) Frames and WebCat (1997) [isfile] ? (1997) sort without the or a (1998) Server replication (1998)