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:
[WebDNA] =?windows-1252?Q?Re=3A_=5BWebDNA=5D_Re=3A_=5BWebDNA=5D_Re=3A_=5B?= (2011)
WebDNA iTools patch (2006)
Mult-File Upload w/ Web Star (2000)
[WebDNA] WebDNA receiving numerous signal SIGSEGV then crashing (2016)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
linetiems in thankyou.tpl (1997)
Associative lookup style? + bit more (1997)
Hosting Services (1999)
No. of items in shopping cart (2000)
Price written to db as scientific notation??? (1999)
[ConvertChars] problem (1997)
Plaintext Email Attachment (2001)
Webmerchant confirmation hooks? (1997)
[WebDNA] Gulf Coast WebDNA programmers (2010)
[WebDNA] To Commitdatabase or Not to Commitdatabase (2012)
Robert Minor duplicate mail (1997)
Serving .wml pages to WAP via webcat (2000)
Error:Too many nested [xxx] contexts (1997)
Escape the Root! (2002)
2.1b3 --> way slow (1997)