WebCat2b13MacPlugin - [math][date][/math] problem
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10545
interpreted = N
texte = When I put [date] in my template, WebCat2 displays:1997/04/06This is corrrect, because my date prefs are set like this:%Y/%m/%dHowever, when I try to do some math on that date and display the results asfollows:[math][date]-1[/math]the results display:-2instead of:1997/04/05And when I try:[math][date]-7[/math]the results display:-8instead of:1997/03/30I was under the impression that I could do math on either [date] or on adate field in my database, and the results would display a date. Isn't thatwhat was meant by the following addition to the Change History in the b13read Me ... or am I just misunderstanding this?4/1/97 - Added native date type to [math] context.Sincerely,Ken------------------------------------To leave this talk list send an email to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
When I put
[date] in my template, WebCat2 displays:1997/04/06This is corrrect, because my date prefs are set like this:%Y/%m/%dHowever, when I try to do some math on that date and display the results asfollows:
[math][date]-1[/math]the results display:-2instead of:1997/04/05And when I try:
[math][date]-7[/math]the results display:-8instead of:1997/03/30I was under the impression that I could do math on either
[date] or on adate field in my database, and the results would display a date. Isn't thatwhat was meant by the following addition to the Change History in the b13read Me ... or am I just misunderstanding this?4/1/97 - Added native date type to
[math] context.Sincerely,Ken------------------------------------To leave this
Talk List send an email to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Kenneth Grome
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:
(no subject) (2000)
Is this possible, WebCat2.0 and checkboxes (1997)
WebDNA implementation of MD5 algorithm? (2003)
Need relative path explanation (1997)
Ok here is a question? (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
[WebDNA] need decoded url in sendmail (2015)
Webcatalog and IIS4b2 (1997)
WebCatalog 2.0 b 15 mac (1997)
WebCat2final1 crashes (1997)
Math with Time (1997)
WebMerchant (2003)
WebCat2: Items xx to xx shown, etc. (1997)
GuestBook example (1997)
ShowNext Command (1997)
Negative Range Error (2003)
2.0Beta Command Ref (can't find this instruction) (1997)
Euro WebDNA Conference (2004)
formula.db problem (1999)
Nested tags count question (1997)