Re: [WebDNA] Mondy morn... [date] question
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103421
interpreted = N
texte = Right; this is how I've always done it. It would be nice if the same shorthand used for the [date] tag would work in any [datefield] though, perhaps with the parameter isdate=t or something. Or maybe it would just fail if the value wasn't in date format. Could this be added to the feature request list?TerryI don't think there is an easier way.Sincerely,Ken Grome> Ok, I got this, but it seems like I could do it in less> steps (maybe not, but now I'm curious):>> [Format Days_To_Date> %Y][math]{02/03/1969}[/math][/format]>>>>> On Mon, 24 Aug 2009 08:15:29 -0700>> "Dan Strong"
wrote:> > Pre-coffee... even after looking through the docs I> > can't seem to remember how to format any date like I> > can with today's date..> > Specifically, I can do [date %Y] to get today's year> > (2009), but how do I do the same for an arbitrary date> > such as 01/03/1969, when I want to get 1969? I've tried> > multiple [format]s, etc... just not getting it. I know> > it's simple, but it's escaping me. Thanks, -Dan>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting:> http://forum.webdna.us/eucabb.html?page=topics&category=2>88-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Associated Messages, from the most recent to the oldest:
Right; this is how I've always done it. It would be nice if the same shorthand used for the [date] tag would work in any [datefield] though, perhaps with the parameter isdate=t or something. Or maybe it would just fail if the value wasn't in date format. Could this be added to the feature request list?TerryI don't think there is an easier way.Sincerely,Ken Grome> Ok, I got this, but it seems like I could do it in less> steps (maybe not, but now I'm curious):>> [Format Days_To_Date> %Y][math]{02/03/1969}[/math][/format]>>>>> On Mon, 24 Aug 2009 08:15:29 -0700>> "Dan Strong" wrote:> > Pre-coffee... even after looking through the docs I> > can't seem to remember how to format any date like I> > can with today's date..> > Specifically, I can do [date %Y] to get today's year> > (2009), but how do I do the same for an arbitrary date> > such as 01/03/1969, when I want to get 1969? I've tried> > multiple [format]s, etc... just not getting it. I know> > it's simple, but it's escaping me. Thanks, -Dan>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting:> http://forum.webdna.us/eucabb.html?page=topics&category=2>88-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Terry Wilson
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:
Alternating colors (1997)
OSX Applescripts -- Anyone? please? (2004)
Date Formats (1997)
problems with 2 tags (1997)
What abobut variables named max ??? (2000)
wow (1998)
Nested tags count question (1997)
listfiles shows invisible files ... (1999)
cr/cr/lf under WebSite ($WebCat.exe) confirmed (2000)
[WebDNA] Easy Grep Question (2012)
FW: Shipping calculations (1997)
Web Developer Product Awards (1997)
Cart/ Form Use (1998)
select multiple (1997)
Questions To Answer (1997)
Rendering out a page (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Two prices in shoppingcart? (1997)
time and welcome (1999)
[OT] Happy Turkey Day! (2003)