Re: [WebDNA] Format Days_To_Date

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100652
interpreted = N
texte = I think your problem is that you are using a date/number that is about 1500 years old !!! It seems that WebDNA doesn't deal with 0535 as %y - would this be a 1500 year old bug ? 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 >>> >>> >>> >>> >> >> Associated Messages, from the most recent to the oldest:

    
  1. [BULK] Re: [WebDNA] Format Days_To_Date (Tim Benson 2008)
  2. Re: [WebDNA] Format Days_To_Date (Stuart Tremain 2008)
  3. Re: [WebDNA] Format Days_To_Date (Stuart Tremain 2008)
  4. Re: [WebDNA] Format Days_To_Date (Stuart Tremain 2008)
  5. Re: [WebDNA] Format Days_To_Date (Terry Wilson 2008)
  6. Re: [WebDNA] Format Days_To_Date (Marc Thompson 2008)
  7. Re: [WebDNA] Format Days_To_Date (Stuart Tremain 2008)
  8. Re: [WebDNA] Format Days_To_Date (Marc Thompson 2008)
  9. Re: [WebDNA] Format Days_To_Date (Marc Thompson 2008)
  10. Re: [WebDNA] Format Days_To_Date (Stuart Tremain 2008)
  11. Re: [WebDNA] Format Days_To_Date (Marc Thompson 2008)
  12. Re: [WebDNA] Format Days_To_Date (Stuart Tremain 2008)
  13. Re: [WebDNA] Format Days_To_Date (Terry Wilson 2008)
  14. Re: [WebDNA] Format Days_To_Date (Stuart Tremain 2008)
  15. Re: [WebDNA] Format Days_To_Date (Stuart Tremain 2008)
  16. Re: [WebDNA] Format Days_To_Date ("William DeVaul" 2008)
  17. Re: [WebDNA] Format Days_To_Date ("William DeVaul" 2008)
  18. Re: [WebDNA] Format Days_To_Date (Donovan Brooke 2008)
  19. Re: [WebDNA] Format Days_To_Date (Tim Benson 2008)
  20. Re: [WebDNA] Format Days_To_Date (Paul Willis 2008)
  21. [WebDNA] Format Days_To_Date (Tim Benson 2008)
I think your problem is that you are using a date/number that is about 1500 years old !!! It seems that WebDNA doesn't deal with 0535 as %y - would this be a 1500 year old bug ? 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 >>> >>> >>> >>> >> >> 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:

shownext not showing next...still r2 (1997) Protecting webdelivery (1997) PIXO support (1997) WC TableGrinder (1997) Missing from Docs [folderName] (1997) year 2000 + and webmerch, macauth? (1998) NT [delete] (1998) Searchable WebCat (etc.) Docs ? (1997) NT b19 sends extra MIME headers (1997) listfields question (2005) Shipping Math (1999) Configuring E-mail (1997) OT: How to Ignore Your Best Customers (2003) New Command prefs ... (1997) Hosting Services (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Help! WebCat2 bug (1997) Problems passing [SKU] with $Replace in 2.0 (1997) another problem (1997) Secure server question (1997)