Re: [WebDNA] Format Days_To_Date
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100659
interpreted = N
texte = I found that it starts to work in the year 1000, 0999 causes problemsOn 05/09/2008, at 8:22 AM, Marc Thompson wrote:> Here's a littel test to show where it starts working, 1900:> [loop start=360&end=740062&advance=365]> [text show=t]testdate=[Format Days_To_Date %m/%d/%Y][index][/Format] > [/text]> -> [text show=t]testdate=[Format Days_To_Date %m/%d/%y][index][/Format] > [/text]
> [/loop]>> Marc>> Stuart Tremain wrote:>> And did you notice that there is NO example of the output ????>> On 05/09/2008, at 8:01 AM, Marc Thompson wrote:>>> Incidentally, [Format Days_To_Date %m/%d/%y]195462[/Format] comes >>> directly from the WebDNA Reference guide under>>> [Format FormatSpec]Text or Number[/Format]>>>>>> Marc>>>>>> Terry 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 Thompson>>> Software Engineer>>> Office of Information Technology>>> University of Utah>>> 801.585.9264>>> marc.thompson@utah.edu>>> ------------------------------------------->>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> -- > -------------------------------------------> Marc Thompson> Software Engineer> Office of Information Technology> University of Utah> 801.585.9264> marc.thompson@utah.edu> -------------------------------------------> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to:
Associated Messages, from the most recent to the oldest:
I found that it starts to work in the year 1000, 0999 causes problemsOn 05/09/2008, at 8:22 AM, Marc Thompson wrote:> Here's a littel test to show where it starts working, 1900:> [loop start=360&end=740062&advance=365]> [text show=t]testdate=[Format Days_To_Date %m/%d/%Y][index][/Format] > [/text]> -> [text show=t]testdate=[Format Days_To_Date %m/%d/%y][index][/Format] > [/text]
> [/loop]>> Marc>> Stuart Tremain wrote:>> And did you notice that there is NO example of the output ????>> On 05/09/2008, at 8:01 AM, Marc Thompson wrote:>>> Incidentally, [Format Days_To_Date %m/%d/%y]195462[/Format] comes >>> directly from the WebDNA reference guide under>>> [Format FormatSpec]Text or Number[/Format]>>>>>> Marc>>>>>> Terry 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 Thompson>>> Software Engineer>>> Office of Information Technology>>> University of Utah>>> 801.585.9264>>> marc.thompson@utah.edu>>> ------------------------------------------->>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> -- > -------------------------------------------> Marc Thompson> Software Engineer> Office of Information Technology> University of Utah> 801.585.9264> marc.thompson@utah.edu> -------------------------------------------> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to:
Stuart Tremain
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:
using webcat with web* & web*SSL (1998)
Need Sample Template - just purchased (1997)
Search/sort in URL Was: GuestBook example (1997)
Encrypt/decrypt bug in 3.0.5b12 (1999)
new WebDNA 5 command reference (2003)
Unix DB Permission Error (2002)
Enhanced Master Counter? (1997)
Hard Questions ? (1997)
SMSI BUG: RandSeed broken on 4.0.2 / Mac OS X (2002)
Frames and WebCat (1997)
searchable list archive (1997)
[QuantityPrice] Not working in WebCatNT 2.0.1??? (1997)
[OT] Tiny bit of java help please (2005)
Poll Results (2002)
Frames and WebCat (1997)
[OT] Might be of interest... (2006)
New Site Announcement (1998)
Local redirects (2005)
So what ya working on? (or have you completed?) (2004)
WebCat editing, SiteGuard & SiteEdit (1997)