Re: [WebDNA] Format Days_To_Date
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100655
interpreted = N
texte = Incidentally, [Format Days_To_Date %m/%d/%y]195462[/Format] comes directly from the WebDNA Reference guide under[Format FormatSpec]Text or Number[/Format]MarcTerry Wilson wrote:> You don't know that this date is not relevant. For instance, a quick > Google search tells us that Krakatoa erupted in 535 A.D.> > Or maybe the original poster is putting together a website for things > happening in the Dark Ages.> > > >> I got the same!>>>> When I change to %Y I got 02/27/0535>>>>>> Try using a more relevant date/number such as 733655>>>>>>>>>>>>>> On 05/09/2008, at 5:13 AM, Tim Benson wrote:>>>>> This line [text]testdate=[Format Days_To_Date >>> %m/%d/%y]195462[/Format][/text]>>> Produces>>> testdate = 02/27/*+>>>>>> I expected a number.>>>>>> tim>>>>>> On 9/3/08 11:15 AM, "Paul Willis"
wrote:>>>>>>> What do you get back and what are you expecting?>>>>>>>> %y is the year without century so 08 at the moment>>>> %Y is the year with century so 2008 at the moment>>>>>>>> ...or my guess is you are using this inside an [orderfile] where >>>> date stuff doesn't work as normal.>>>>>>>> Paul>>>>>>>>>>>> On 3 Sep 2008, at 15:54, Tim Benson wrote:>>>>>>>>> The formatting option [Format Days_To_Date %m/%d/%y] no longer >>>>> supplies the year properly, was it replaced or no longer supported?>>>>>>>>>>>>>>>>>>>>>>>>> Timothy D. Benson (tbenson@syracusecoe.org)>>>>> Information Coordinator>>>>> SyracuseCoE>>>>> 621 Skytop Road>>>>> Syracuse, NY 13244>>>>> Tel:315-443-8756>>>>> Web:SyracuseCoe.org>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: > -- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu-------------------------------------------
Associated Messages, from the most recent to the oldest:
Incidentally, [Format Days_To_Date %m/%d/%y]195462[/Format] comes directly from the WebDNA reference guide under[Format FormatSpec]Text or Number[/Format]MarcTerry Wilson wrote:> You don't know that this date is not relevant. For instance, a quick > Google search tells us that Krakatoa erupted in 535 A.D.> > Or maybe the original poster is putting together a website for things > happening in the Dark Ages.> > > >> I got the same!>>>> When I change to %Y I got 02/27/0535>>>>>> Try using a more relevant date/number such as 733655>>>>>>>>>>>>>> On 05/09/2008, at 5:13 AM, Tim Benson wrote:>>>>> This line [text]testdate=[Format Days_To_Date >>> %m/%d/%y]195462[/Format][/text]>>> Produces>>> testdate = 02/27/*+>>>>>> I expected a number.>>>>>> tim>>>>>> On 9/3/08 11:15 AM, "Paul Willis" wrote:>>>>>>> What do you get back and what are you expecting?>>>>>>>> %y is the year without century so 08 at the moment>>>> %Y is the year with century so 2008 at the moment>>>>>>>> ...or my guess is you are using this inside an [orderfile] where >>>> date stuff doesn't work as normal.>>>>>>>> Paul>>>>>>>>>>>> On 3 Sep 2008, at 15:54, Tim Benson wrote:>>>>>>>>> The formatting option [Format Days_To_Date %m/%d/%y] no longer >>>>> supplies the year properly, was it replaced or no longer supported?>>>>>>>>>>>>>>>>>>>>>>>>> Timothy D. Benson (tbenson@syracusecoe.org)>>>>> Information Coordinator>>>>> SyracuseCoE>>>>> 621 Skytop Road>>>>> Syracuse, NY 13244>>>>> Tel:315-443-8756>>>>> Web:SyracuseCoe.org>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: > -- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu-------------------------------------------
Marc Thompson
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:
[WebDNA] WebDNA Roll Call (2013)
Searching in a range... (1998)
Image upload (2000)
Zeroing out shipping costs (2000)
[WebDNA] Installing 7.1.702 on CentOS (2012)
Way Off Topic (2003)
Problem with 2.1b3 (1997)
redirect with frames (1997)
searchable list archive (1997)
Webcatalog [blank] Problem (1999)
Multiple Pulldowns (1997)
Nesting Search Within
Tag? (1997)
problems with 2 tags (1997)
WebSite and *NO* Authentication Dialog Box!!? (1998)
Problem with updating 2.1b7 -> 2.1.1 (1998)
Installation webCatalog (French speakers please help) (1998)
[getchars] questions (1997)
Search in 2 or more catalogs (1997)
How to get shownext to just shownext once (1997)
OT - Dig Sigs (2004)