Re: What date is it anyway?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57069
interpreted = N
texte = At 12:35 PM +0000 3/24/04, Phil Ronchetti wrote: >Hi, > >I'm getting some really weird date function behaviour. I use the date function to generate a filename such as ordersYYMMDD.txt (e.g. orders040324.txt). This works fine almost all of the time but occasionally the filename that is generated is incorrect. It happened today, I was expecting orders040324.txt but got orders031010.txt. I checked the date on the server and it was set correctly. Are you creating this file within an [orderfile...] context? If so, then the date is the date of the order, not the system date. ~Joe ------------------------------------------------------------- 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:

    
  1. Re: What date is it anyway? ( Paul Willis 2004)
  2. Re: What date is it anyway? ( devaulw@onebox.com 2004)
  3. Re: What date is it anyway? ( Paul Willis 2004)
  4. Re: What date is it anyway? ( Phil Ronchetti 2004)
  5. Re: What date is it anyway? ( Brian Fries 2004)
  6. Re: What date is it anyway? ( Phil Ronchetti 2004)
  7. Re: What date is it anyway? ( Joe D'Andrea 2004)
  8. What date is it anyway? ( Phil Ronchetti 2004)
At 12:35 PM +0000 3/24/04, Phil Ronchetti wrote: >Hi, > >I'm getting some really weird date function behaviour. I use the date function to generate a filename such as ordersYYMMDD.txt (e.g. orders040324.txt). This works fine almost all of the time but occasionally the filename that is generated is incorrect. It happened today, I was expecting orders040324.txt but got orders031010.txt. I checked the date on the server and it was set correctly. Are you creating this file within an [orderfile...] context? If so, then the date is the date of the order, not the system date. ~Joe ------------------------------------------------------------- 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/ Joe D'Andrea

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:

Showif Error Generated... (2003) Associative lookup style? + bit more (1997) WebCat2.0 [format thousands .0f] no go (1997) Grant, please help me ... (1997) Need some Java Script Code (2003) 2nd WebCatalog2 Feature Request (1996) Setting up WebCatalog with Retail Pro data (1996) Setting up WebCatalog with Retail Pro data (1996) Buying sans cart (1997) A dynamic database. (1997) WebCatalog2 Feature Feedback (1996) HELP WITH DATES (1997) Anyone using WebCat UNIX on a busy server yet? (1999) form data submission gets truncated (1997) WebCatalog 4.0 Users that want to talk to the Media.... (2000) Re:no [search] with NT (1997) WebMerchant - fixed, now trigger question... (1999) Re:2nd WebCatalog2 Feature Request (1996) Search/sort in URL Was: GuestBook example (1997) [WebDNA] OS X mail server (2009)