[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:
searchable list archive (1997)
[format xs] freeze (1997)
Convertchars problem? (2000)
Showif, Hideif reverse logic ? (1997)
WebCommerce: Folder organization ? (1997)
[SearchString] usage (1997)
WebDNA 5.1 is now available! (2003)
OT: JavaScript question (2001)
Adding headers to email (1997)
Final invoice problems (1998)
Trouble serving graphics on protected templates (1998)
won't serve .tpl (2000)
Multiple Pulldowns (1997)
Setting up shop (1997)
Shopping Cart Deletion (2000)
setting cookies for another domain? (2002)
determining plug-ins? (1998)
Trouble with formula.db + more explanation (1997)
Hello? (2004)
WebCatalog [FoundItems] Problem - AGAIN - (1997)