[math date] with non-US date format
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30021
interpreted = N
texte = Anyone had any luck getting [math date] to work well with any non-US dateformats?I need to add 14 days onto the current date, sounds easy eh, just use...[math date]{[date]}+{14/00/0000}[/math]The problem, is that taking today as an example, in the UK we show it as05/04/2000, using the code above, we get the result 04/19/2000!!!If I try using [math date]{[date]}+{00/14/0000}[/math], I get 06/05/2001!The server is set so that [date] appears as 05/04/2000]Thanks for any help.Mark.-------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
Anyone had any luck getting [math date] to work well with any non-US dateformats?I need to add 14 days onto the current date, sounds easy eh, just use...[math date]{[date]}+{14/00/0000}[/math]The problem, is that taking today as an example, in the UK we show it as05/04/2000, using the code above, we get the result 04/19/2000!!!If I try using [math date]{[date]}+{00/14/0000}[/math], I get 06/05/2001!The server is set so that [date] appears as 05/04/2000]Thanks for any help.Mark.-------------------------------------------------------------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
Mark Derrick
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:
PCS Customer submissions ? (1997)
OT (maybe) Setting up local (non internet) test computers (2000)
[WebDNA] Emailer and Comcast.net (2008)
Finding max value for a field (1997)
Public Beta for WebCatalog 4.0 is Available (2000)
Pithy questions on webcommerce & siteedit (1997)
Signal Raised (1997)
Count regular expressions in a file (2007)
Merry Christmas! :) (1998)
[WebDNA] Lookup, Whois etc. (2009)
Rhapsody? (1997)
Hard Questions ? (1997)
autocommit problem (1998)
mac os HOG? (2001)
[OT] DOD again (2003)
Session ID Equivalent (2003)
Copyright ? (1997)
Sort Order on a page search (1997)
Re2: Calculating multiple shipping... (1997)
Help with (2003)