WebDNA is a scripting and database system designed to easily build web applications.
WebDNA and BioType
BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5
Download WebDNA
Download WebDNA freeware, try it and register later if you want.
WebDNA resources
The list of all WebDNA instructions.
Menu
What is WebDNA
WebDNA is a scripting and database system designed to easily build web applications.
WebDNA and BioType
BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5
Download WebDNA
Download WebDNA freeware, try it and register later if you want.
WebDNA resources
The list of all WebDNA instructions.
What is WebDNA
WebDNA is a scripting and database system designed to easily build web applications.
WebDNA and BioType
BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5
Download WebDNA
Download WebDNA freeware, try it and register later if you want.
WebDNA resources
The list of all WebDNA instructions.
What is WebDNA
WebDNA is a scripting and database system designed to easily build web applications.
WebDNA and BioType
BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5
Download WebDNA
Download WebDNA freeware, try it and register later if you want.
WebDNA resources
The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
Menu
HOME
DOWNLOADS
LEARN
EDUCATION
NEWS
COMMUNITY
STORE
SUPPORT
CONTACT
Re: Old code new problem?
This WebDNA talk-list message is from
2004
It keeps the original formatting.
numero = 59238
interpreted = N
texte = Yes, there is a pref for both displaying the date, and 'interpreting' agiving date. That is why it is important to try and eliminate anyassumptions about how the date will formatted when the [date] date is usedin a math equation. This can be done using the 'format' parameter in the[date] tag, as in the suggested math statement below.-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfPatrick McCormickSent: Tuesday, August 31, 2004 08:55 PMTo: WebDNA TalkSubject: Re: Old code new problem?Doesn't the engine use the pref. setting for the date, or does italways use day/month/year?On Aug 31, 2004, at 6:08 PM, Scott Anderson wrote:> Look at the math...>> Using today's date (in m/d/Y) format, your math equation for the> second iteration would be:>> 8/31/2004 + 01/00/0000 = 9/31/2004, which is not a legitimate date, in> fact the engine will calculate it to 10/1/2004, thereby giving you the> 'Oct' for the month.>> change you math to...> [Format Days_To_Date %b][Math]{[date> format=%m/1/%Y]}+{0[index]/00/0000}[/Math][/Format]>> this should work no matter what the day of the month is.>> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of> Donovan Brooke> Sent: Tuesday, August 31, 2004 02:41 PM> To: WebDNA Talk> Subject: Old code new problem?>>> Hello,>> Can anyone see why this code would give me results like:>> Aug> Oct> Oct> Nov> Nov> etc.>> I believe it used to work fine.>> M:>> thx,> Donovan>> P.S. WebDNA - Enterprise Edition,6.0>>>>> --> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> DONOVAN D. BROOKE Eucalyptus Design> <-Web Development (specializing in eCommerce), ->> <-Graphic Design, and Pre-Press Consultation ->>> ADDRESS:> Donovan Brooke> DBA Eucalyptus Design> N2862 Summerville Park Rd.> Lodi, WI 53555> PH:> 1.608.592.3567> Web:> http://www.euca.us> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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 toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Re: Old code new problem? ( "Scott Anderson" 2004)
Yes, there is a pref for both displaying the date, and 'interpreting' agiving date. That is why it is important to try and eliminate anyassumptions about how the date will formatted when the [date] date is usedin a math equation. This can be done using the 'format' parameter in the[date] tag, as in the suggested math statement below.-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfPatrick McCormickSent: Tuesday, August 31, 2004 08:55 PMTo: WebDNA TalkSubject: Re: Old code new problem?Doesn't the engine use the pref. setting for the date, or does italways use day/month/year?On Aug 31, 2004, at 6:08 PM, Scott Anderson wrote:> Look at the math...>> Using today's date (in m/d/Y) format, your math equation for the> second iteration would be:>> 8/31/2004 + 01/00/0000 = 9/31/2004, which is not a legitimate date, in> fact the engine will calculate it to 10/1/2004, thereby giving you the> 'Oct' for the month.>> change you math to...> [Format Days_To_Date %b][math]{[date> format=%m/1/%Y]}+{0[index]/00/0000}[/Math][/Format]>> this should work no matter what the day of the month is.>> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of> Donovan Brooke> Sent: Tuesday, August 31, 2004 02:41 PM> To: WebDNA Talk> Subject: Old code new problem?>>> Hello,>> Can anyone see why this code would give me results like:>> Aug> Oct> Oct> Nov> Nov> etc.>> I believe it used to work fine.>> M:>> thx,> Donovan>> P.S. WebDNA - Enterprise Edition,6.0>>>>> --> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> DONOVAN D. BROOKE Eucalyptus Design> <-Web Development (specializing in eCommerce), ->> <-Graphic Design, and Pre-Press Consultation ->>> ADDRESS:> Donovan Brooke> DBA Eucalyptus Design> N2862 Summerville Park Rd.> Lodi, WI 53555> PH:> 1.608.592.3567> Web:> http://www.euca.us> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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 toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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://webdna.smithmicro.com/
"Scott Anderson"
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...