Re: Problem with formatting dates stored in db
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52330
interpreted = N
texte = Perfect! Thank you VERY MUCH! I never even thought about using a math tagaround it.----- Original Message ----- From: "Jay Van Vark"
To: "WebDNA Talk" Sent: Tuesday, August 19, 2003 1:16 PMSubject: Re: Problem with formatting dates stored in db> 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 muchluck.> > I'm trying to format dates stored in the datebase like this 08/19/2003and> > 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 ApacheModule> > 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/>>-------------------------------------------------------------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:
Perfect! Thank you VERY MUCH! I never even thought about using a math tagaround it.----- Original Message ----- From: "Jay Van Vark" To: "WebDNA Talk" Sent: Tuesday, August 19, 2003 1:16 PMSubject: Re: Problem with formatting dates stored in db> 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 muchluck.> > I'm trying to format dates stored in the datebase like this 08/19/2003and> > 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 ApacheModule> > 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/>>-------------------------------------------------------------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:
[tcp connect]-dumb question? (1998)
Some Advise needed (1997)
Include vs. lookup-opps (1998)
WebCat2.0b15-to many nested [xx] tags (1997)
Requiring that certain fields be completed (1997)
Limit on nested [ShowIf]'s? (1997)
Trigger: Only on Saturday (2001)
WebCatalog2 Feature Feedback (1996)
Solution help needed (1998)
Word wrapping (1997)
unique ascending numbers (2003)
Error:Too many nested [xxx] contexts (1997)
Search (1997)
Mac to UNIX (2000)
A dynamic database. (1997)
Exclamation point (1997)
Sorting by date (1997)
problems with 2 tags (1997)
storeBuilder (2002)
Apache 2.0 question (AddModule mod_webcatalog.cpp) (2008)