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:
[WebDNA] [raw] tag with [interpret] question (2010)
WebCatalog Technical Reference (1997)
Bug alert! (1997)
weight based shipping cost questions (1997)
Unix line endings (2003)
Crazy dates (was: sorting dates) (1999)
AuthorizeNet setup -- progress but still need input from experts! (2000)
two of the same named db's open at once (1998)
Determining Method (2000)
Was cart limit-- Limits (2002)
Single Link browsing (1997)
WebDNA Verison 4.5 will Not Restart! This SUCKS! (2002)
WebCatalog/Mac 2.1b2 New Features (1997)
Stopping bad HTML propagation ? (1997)
Problems with [Applescript] (1997)
WebCatalog for Postcards ? (1997)
Webcatalog server support (1997)
can webcat determine an image's pixel dimensions? (2000)
WCS Newbie question (1997)
nslookup (2000)