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... > > John Well 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/yyyyy so.. [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:

    
  1. Re: 2cd pair.. [math] and European Date format ( Donovan Brooke 2004)
  2. Re: 2cd pair.. [math] and European Date format ( "Tom Duke" 2004)
  3. Re: 2cd pair.. [math] and European Date format ( Donovan Brooke 2004)
  4. Re: 2cd pair.. [math] and European Date format ( Donovan Brooke 2004)
  5. Re: 2cd pair.. [math] and European Date format ( John Peacock 2004)
  6. Re: 2cd pair.. [math] and European Date format ( Donovan Brooke 2004)
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... > > John Well 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/yyyyy so.. [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:

[WebDNA] RESTART WebDNA (2016) Re:2nd WebCatalog2 Feature Request (1996) Flushdatabases - WCAT4 not functioning (2000) RE: completed orders database (1997) Here we go again...WebDNA - SQL- Clustering (2006) Hiding HTML and page breaks (1997) [WebDNA] Not even sure what to ask for help on. . . :( (2008) Sku numbers (1997) Busted at the Border (1998) SiteGuard Admin Feature ? (1997) Sendmail Problems (2003) [WebDNA] Windows 2003 SSL - TCPConnect TCPSend (2008) Help formatting search results w/ table (1997) Re:Emailer and encryption (1997) Re2: AAgghh!! Help, please. SSL strikes again. (1997) WebCat2_Mac RETURNs in .db (1997) Locking up with WebCatalog... (1997) Help name our technology! I found it (1997) One more time (1997) Cart # Starting at 1000 (2000)