Re: 2cd pair.. [math] and European Date format
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59097
interpreted = N
texte = John Peacock wrote:> Donovan Brooke wrote:> >> I think the [date %d/%m/%Y] forces the "/" which seems to be the >> difference..> > > This is your working version above, and what wasn't working is below:> >>> [text]timestamp=[math]((([math]{[date >>> %m/%d/%Y]}[/math])-1)*86400)+([math]{[time]}[/math])[/math][/text]>>>> > As you can see, the version on the bottom was "%m/%d/%Y" so you were > getting exactly what you were asking for; it has nothing to do with the > slash...> > JohnWell actually I think I was right the first time... I think ;-)...[date], in the way they have it pref'ed, displays like:ddmmyyyy...not dd/mm/yyyyyso..[text]timestamp=[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time]}[/math])[/math][/text]munges the results and:[text]timestamp=[math]((([math]{[date %d/%m/%Y]}[/math])-1)*86400)+([math]{[time]}[/math])[/math][/text]corrects it.Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
John Peacock wrote:> Donovan Brooke wrote:> >> I think the [date %d/%m/%Y] forces the "/" which seems to be the >> difference..> > > This is your working version above, and what wasn't working is below:> >>> [text]timestamp=[math]((([math]{[date >>> %m/%d/%Y]}[/math])-1)*86400)+([math]{[time]}[/math])[/math][/text]>>>> > As you can see, the version on the bottom was "%m/%d/%Y" so you were > getting exactly what you were asking for; it has nothing to do with the > slash...> > JohnWell actually I think I was right the first time... I think ;-)...[date], in the way they have it pref'ed, displays like:ddmmyyyy...not dd/mm/yyyyyso..[text]timestamp=[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time]}[/math])[/math][/text]munges the results and:[text]timestamp=[math]((([math]{[date %d/%m/%Y]}[/math])-1)*86400)+([math]{[time]}[/math])[/math][/text]corrects it.Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
Virtual hosting and webcatNT (1997)
What is WebDNA (1997)
Bug or syntax error on my part? (1997)
docs for WebCatalog2 (1997)
WebCatalog dying in WebTen Revisited (1998)
Webcat/Webmerchant (1998)
Download URL & access on the fly ? (1997)
Sorting LISTFILES (1997)
Secure server question (1997)
[Webcat 2]Next (1997)
[WebDNA] difference in formatting [time] (2011)
[WebDNA] Write uploaded file with same name (2020)
WCS Newbie question (1997)
WebCat 2.1beta etc (1997)
creating a ShipCosts database (1997)
[WebDNA] WebDNA [sendmail] - fixes and future features (2010)
Performance Issue (2000)
Grep Help (2007)
Re:2nd WebCatalog2 Feature Request (1996)
File Upload (1997)