Re: [WebDNA] Dates
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103768
interpreted = N
texte = Frank Nordberg wrote:> Donovan Brooke wrote:> >> Then do some math:>>>> 2 days from now: [math date]{[date]}+{02/00/0000}[/math]> > I'm afraid I still can't get it to work. That is, your code does give > 10/10/2009 but adding four days gives 10/12/2009.[snip]> > That being said, I'm only 95 percent sure the server's preferences are > set to dd/mm/yyyy date format. Could that be the cause of the problems?Yep, it appears your server is still reading as %m/%d/%Y.. sinceit appears you are adding 4 months, not days.>> Yep. :-/ This is a bug in the admin templates. Thanks for bring>> it to light to the list. Until we release a new>> version, you can edit the file /WebCatalogEngine/admin/AdminPrefs.dna>> lines 189 and 190.. just switch the "yes" and "no" at the end of those>> lines.> > OK. No big deal then, as long as we know about it. :-)> FrankWell, those little things can be frustrating after a long day of coding!..will be fixed next release!Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
Associated Messages, from the most recent to the oldest:
Frank Nordberg wrote:> Donovan Brooke wrote:> >> Then do some math:>>>> 2 days from now: [math date]{
[date]}+{02/00/0000}[/math]> > I'm afraid I still can't get it to work. That is, your code does give > 10/10/2009 but adding four days gives 10/12/2009.[snip]> > That being said, I'm only 95 percent sure the server's preferences are > set to dd/mm/yyyy date format. Could that be the cause of the problems?Yep, it appears your server is still reading as %m/%d/%Y.. sinceit appears you are adding 4 months, not days.>> Yep. :-/ This is a bug in the admin templates. Thanks for bring>> it to light to the list. Until we release a new>> version, you can edit the file /WebCatalogEngine/admin/AdminPrefs.dna>> lines 189 and 190.. just switch the "yes" and "no" at the end of those>> lines.> > OK. No big deal then, as long as we know about it. :-)> FrankWell, those little things can be frustrating after a long day of coding!..will be fixed next release!Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
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:
encryption madness (2003)
WebCatalog can't find database (1997)
WebCatalog Hosting (1996)
WebMerchant and PC Auth Hub (1999)
TCP Connect/send and CGI (2003)
a little OT (2001)
Help! WebCat2 bug (1997)
First postarg not taking in $Commands (1997)
Make sure I understand this??? (1997)
select multiple (1997)
Forms Search Questions (1997)
SiteGuard Use Question (1997)
Satisfy Me ! was: Why can't support be satisfying to (2000)
[WebDNA] Sorry WebDNA server not running - September 2019 Edition (2019)
OT: Unix Geek Needed (2005)
Exclamation point (1997)
HELP WITH DATES (1997)
math on date? (1997)
FORMS: Returning a specific page (1997)
Virtual hosting and webcatNT (1997)