Re: What date is it anyway?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57125
interpreted = N
texte = I would have come along to the fleas but I seemed to have missed it due to the WebDNA [date] bugPaulOn 25 Mar 2004, at 18:13, devaulw@onebox.com wrote:> I'm still coming. Where do we meet? I'll let you know the time later.> Did you want to go to the fleas early a.m.?>> Bill>>> -----Original Message-----> From: Paul Willis
> Sent: Thu, 25 Mar 2004 17:36:17 +0000> To: (WebDNA Talk)> Subject: Re: What date is it anyway?>> Yep I've seen this too.>> We create a [date] based variable (outside of any orderfile) for both > the date in an affiliate tracking system and an in order creation > system.>> We are running WebDNA 5.1e on OS X Server 10.2.8>> In the last year the order creation system had errored 12 times (it > runs the code every day)>> The affiliate tracking has been a nightmare, I assumed it was a coding > error and fiddled with the page but the date has had random entries a > dozen times this year.>> Looks like another 5.1 bug, along with the cart clearing code>> Paul>>> This is used in two places> [text]v_ymd=[date %y%m%d][/text]>>> On 25 Mar 2004, at 13:52, Phil Ronchetti wrote:>>> Brian, your experiences seem to be consistent with what we are >> getting. For the record, we are running WebDNA 5.1e on Mac OS X.>>>> [Date] should be 100% reliable but it appears not to be.>>>> Phil>>>>> I've seen similar problems naming files using [date]. On rare >>> occasions (like one in 100,000), always using the same code and >>> never having a variable named "date", [writefile abc[date %Y%m%d]] >>> will give me file names like:>>>>>> abc2004>>> abc200403>>> abcdate>>> abc>>>>>> This is using WebDNA 5.0.0g on OSX. I don't have a solution, and it >>> hasn't hit a particularly critical area - mostly this hits on my >>> common code for logging page hits, and missing a hit or two a day >>> isn't a big deal. It is disturbing, however.>>>>>> - brian>>>>>> On Mar 24, 2004, at 5:00 AM, Phil Ronchetti wrote:>>>>>>> I'm not using the date function inside an orderfile. The code looks >>>> like this:>>>>>>>> [text]var_ymd=[date %y%m%d][/text]>>>> [AppendFile file=backups/orders[var_ymd].txt][/AppendFile]>>>>>>>> Phil>>>>>>>>> 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/>>>>> -------------------------------------------------------------> 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/>>>> -------------------------------------------------------------> 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/>-------------------------------------------------------------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:
I would have come along to the fleas but I seemed to have missed it due to the WebDNA [date] bugPaulOn 25 Mar 2004, at 18:13, devaulw@onebox.com wrote:> I'm still coming. Where do we meet? I'll let you know the time later.> Did you want to go to the fleas early a.m.?>> Bill>>> -----Original Message-----> From: Paul Willis > Sent: Thu, 25 Mar 2004 17:36:17 +0000> To: (WebDNA Talk)> Subject: Re: What date is it anyway?>> Yep I've seen this too.>> We create a [date] based variable (outside of any orderfile) for both > the date in an affiliate tracking system and an in order creation > system.>> We are running WebDNA 5.1e on OS X Server 10.2.8>> In the last year the order creation system had errored 12 times (it > runs the code every day)>> The affiliate tracking has been a nightmare, I assumed it was a coding > error and fiddled with the page but the date has had random entries a > dozen times this year.>> Looks like another 5.1 bug, along with the cart clearing code>> Paul>>> This is used in two places> [text]v_ymd=[date %y%m%d][/text]>>> On 25 Mar 2004, at 13:52, Phil Ronchetti wrote:>>> Brian, your experiences seem to be consistent with what we are >> getting. For the record, we are running WebDNA 5.1e on Mac OS X.>>>> [date] should be 100% reliable but it appears not to be.>>>> Phil>>>>> I've seen similar problems naming files using [date]. On rare >>> occasions (like one in 100,000), always using the same code and >>> never having a variable named "date", [writefile abc[date %Y%m%d]] >>> will give me file names like:>>>>>> abc2004>>> abc200403>>> abcdate>>> abc>>>>>> This is using WebDNA 5.0.0g on OSX. I don't have a solution, and it >>> hasn't hit a particularly critical area - mostly this hits on my >>> common code for logging page hits, and missing a hit or two a day >>> isn't a big deal. It is disturbing, however.>>>>>> - brian>>>>>> On Mar 24, 2004, at 5:00 AM, Phil Ronchetti wrote:>>>>>>> I'm not using the date function inside an orderfile. The code looks >>>> like this:>>>>>>>> [text]var_ymd=[date %y%m%d][/text]>>>> [AppendFile file=backups/orders[var_ymd].txt][/AppendFile]>>>>>>>> Phil>>>>>>>>> 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/>>>>> -------------------------------------------------------------> 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/>>>> -------------------------------------------------------------> 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/>-------------------------------------------------------------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/
Paul Willis
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:
Upgrading old WebCat Database Files (1997)
When do we get to request new features? (1999)
database size? (1997)
[WebDNA] HTML forum (2008)
Re:2nd WebCatalog2 Feature Request (1996)
line breaks in sendmail (1998)
[SHOWIF]s and empty arguments (1997)
credit card authorization question (1997)
required fields (1999)
TEXTAREA and sendmail (1998)
Contest (1999)
Meet your competition (2000)
RE: WebCat name recognition (was MacFinder -- a new WebDNAw (1998)
question: webdelivery folder and file (1997)
Last freebie (1998)
[WriteFile] problems (1997)
Duplicate Messages (1998)
Postdata expired from cache (2004)
[WebDNA] HTML/OS vs. WebDNA ? (2008)
RE: Adding a product from another site (1997)