Re: Fun with Dates (syntax)
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45138
interpreted = N
texte = [Math date]NextMonday={[date]}+{00/06/0000}[/Math]GK| Hi,|| When creating a mathematical expression with [date] I don't seem to beable| to add any other attributes:|| I need to work out when every next monday is for an online calendar.|| [showif [date format=%a]=Tue]| [Math date]{[date]}+{00/06/0000}[/Math]| [/showif]|| ..produces the date plus 6 days. So far so good. But can I name this| variable? Doesn't seem to work:|| [Math date]nextmonday={[date]}+{00/06/0000}[/Math]| [nextmonday]|| ..produces the figure 731537 which I can only assume is a syntax error onmy| part somewhere, but can't see what.|| (it's the same story with|| [Math date]nextmonday=({[date]}+{00/06/0000})[/Math]| [nextmonday]|| )|| In addition, I need to reformat the date so it is in the format 20021112,| but adding in the attribute doesn't seem to work. Can I change the date| format in a [math] context?|| [Math date]{[date format=%Y%m%d]}+{00000006}[/Math]|| ? would be the ideal.|| Any help appreciated.|| Pat-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
[Math date]NextMonday={[date]}+{00/06/0000}[/Math]GK| Hi,|| When creating a mathematical expression with [date] I don't seem to beable| to add any other attributes:|| I need to work out when every next monday is for an online calendar.|| [showif [date format=%a]=Tue]| [Math date]{[date]}+{00/06/0000}[/Math]| [/showif]|| ..produces the date plus 6 days. So far so good. But can I name this| variable? Doesn't seem to work:|| [Math date]nextmonday={[date]}+{00/06/0000}[/Math]| [nextmonday]|| ..produces the figure 731537 which I can only assume is a syntax error onmy| part somewhere, but can't see what.|| (it's the same story with|| [Math date]nextmonday=({[date]}+{00/06/0000})[/Math]| [nextmonday]|| )|| In addition, I need to reformat the date so it is in the format 20021112,| but adding in the attribute doesn't seem to work. Can I change the date| format in a [math] context?|| [Math date]{[date format=%Y%m%d]}+{00000006}[/Math]|| ? would be the ideal.|| Any help appreciated.|| Pat-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Gary Krockover
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:
POSTing to a secure server ... (2000)
multi-paragraph fields (1997)
searching multiple databases (1997)
Signup form db weirdness (2006)
Re:2nd WebCatalog2 Feature Request (1996)
b12 cannot limit records returned and more. (1997)
RE: Nt's Latest? (1997)
(1997)
This is an odd error (2001)
Group search doesn't work. (1997)
BUG REPORT: numeric ge, le, gr & ls comparisons don't work ... (1999)
Occasional crashes with $remove (1997)
[WebDNA] An unknown error occured // Deadlock avoided (2011)
Separate SSL Server (1997)
WebCatalog can't find database (1997)
WebDNA maxing out processor (2008)
What the *(**&^* webcat/mer (1998)
Re:How to Display text in empty fields (1997)
[table] question (2007)
AD Error Msg (1997)