Re: [math date] with non-US date format
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30022
interpreted = N
texte = if memory serves correct, there are 2 date preferences. Make sure thatBOTH are set for UK dates, and then you should have no problem.-HowardOn Wed, 5 Apr 2000, Mark Derrick wrote:> Anyone had any luck getting [math date] to work well with any non-US date> formats?> > 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 as> 05/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 > -------------------------------------------------------------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:
if memory serves correct, there are 2 date preferences. Make sure thatBOTH are set for UK dates, and then you should have no problem.-HowardOn Wed, 5 Apr 2000, Mark Derrick wrote:> Anyone had any luck getting [math date] to work well with any non-US date> formats?> > 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 as> 05/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 > -------------------------------------------------------------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
Howard Wolosky
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:
lookup (1998)
synching databases on multiple servers (1997)
Bug or syntax error on my part? (1997)
WebDNA Book? (2003)
WebDNA and SQL (2003)
Confirming a bug/oddity (2003)
Protect Tag (2003)
Paging a SQL result... (2003)
Moment of Thanks (1997)
AJAX with WebDNA (2006)
OLD ORDERS (1998)
[SHOWIF]s and empty arguments (1997)
Problem with empty form-variables in [search] (1998)
WebDelivery: One step closer !! (1997)
RequiredFields template (1997)
View a Order file (1999)
[WebDNA] help with writefile (2012)
Grep help (2004)
[SearchString] problem with [search] context (1997)
[ShowIf] and empty fields (1997)