Re: time format
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62724
interpreted = N
texte = Patrick McCormick wrote:> what's the proper syntax for formatting time?> > I want 17:30:00 in the database to display like 5:30 pm.> > [format %I:%M%p][evtime][/format] isn't working> > neither is [format time %I:%M%p][evtime][/format]> > Be nice if the docs addressed this.> > PatAppend your time to the database like:[math]{[time]}[/math]This changes the time to "Seconds since Midnight".Parse it for display with [format Secs_to_TIME perams]Then, sort it as a number as apposed to time.(thats the way, uh-huh uh-huh, I like it, uh-huh uh-huh)See: http://webdna.smithmicro.com/ref/pages.html?context=MathContext.html"TIME MATH"for more info.Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Euca Design Center <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke Euca Design Center 1871 HWY MM Fitchburg, WI 53575 PH:> 1.608.835.2476 Web:> http://www.egg.bz http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Patrick McCormick wrote:> what's the proper syntax for formatting time?> > I want 17:30:00 in the database to display like 5:30 pm.> > [format %I:%M%p][evtime][/format] isn't working> > neither is [format time %I:%M%p][evtime][/format]> > Be nice if the docs addressed this.> > PatAppend your time to the database like:[math]{[time]}[/math]This changes the time to "Seconds since Midnight".Parse it for display with [format Secs_to_TIME perams]Then, sort it as a number as apposed to time.(thats the way, uh-huh uh-huh, I like it, uh-huh uh-huh)See: http://webdna.smithmicro.com/ref/pages.html?context=MathContext.html"TIME MATH"for more info.Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Euca Design Center <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke Euca Design Center 1871 HWY MM Fitchburg, WI 53575 PH:> 1.608.835.2476 Web:> http://www.egg.bz http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
Erotic Sites (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
timing out? (1997)
WebCatalog NT beta 18 problem (1997)
requiring form fields? (2000)
Not really WebCat - need HTML Grider (1997)
E-Mail (1998)
acgi to plugin migration problems (2000)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Sandbox CPU Usage Issue (2005)
Old $ commands and migration (2004)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
[Sum] function? (1997)
WebMerchant? (1998)
Search Problems (2000)
[sendmail] questions... (1997)
WebCatalog 4.0.1b1 is now available (2000)
Setting up shop (1997)
Overseas project (2000)
Problems getting parameters passed into email. (1997)