Re: Problem with formatting dates stored in db

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52329
interpreted = N
texte = Need a [math]{[gamedate]}[/math] To get you to days -- since you are using days_to_date formatting... On 8/19/03 11:14 AM, "Jesse Crofoot" wrote: > 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. > -- Jay Van Vark 'Guiding Positive Change in High-Tech Companies' one box voicemail (866) 248-7670 x 6471 efax (801) 659-7952 http://www.VanVark.net ------------------------------------------------------------- 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)
Need a [math]{[gamedate]}[/math] To get you to days -- since you are using days_to_date formatting... On 8/19/03 11:14 AM, "Jesse Crofoot" wrote: > 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. > -- Jay Van Vark 'Guiding Positive Change in High-Tech Companies' one box voicemail (866) 248-7670 x 6471 efax (801) 659-7952 http://www.VanVark.net ------------------------------------------------------------- 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/ Jay Van Vark

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:

WebCatalog can't find database (1997) error: Too many nested [xxx] contexts (1997) Sendmail & Time Issue (2001) Text limits in NT version? (1997) Searching for all records (1998) WebMerchant Error (1998) Location of Browser Info.txt file (1997) Help with (2003) changing order number (1998) Server crash (1997) Simple search, perhaps (2002) Searching a field and returning the highest value (1997) orderfile location (1999) Math with Time (1997) Need something like [listchars] ... (2000) suggestion (1997) WebCat2 - Getting to the browser's username/password data (1997) MySQL UPDATE (2007) Running 2 two WebCatalog.acgi's (1996) ThreadMem ignored? (1998)