On 28 Mar 2017, at 09:23, Lawrence Banahan <banahan.l@gmail.com>= wrote:This only works if {[TIMENOW}>{[CLOSINGTIME}
if =you connect in the morning timenow is 9am and closing time 12am this =comparaison doesn't work. It works only in the morning.Am I =right?---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list2017-03-28 0:05 GMT+02:00 Stuart Tremain <webdna@idfk.com.au>:------------------------------[IF =([MATH]{[TODAYSDATE}[/MATH]>[MATH]{[CLOSINGDATEDATE}[/MATH] )&([MATH]{[TIMENOW}[/MATH]>[ MATH]{[CLOSINGTIME}[/MATH])] [THEN]Sorry, registration =closed.[/THEN][ELSE]Here's the registration =form ...[/ELSE][/IF]On 28 Mar 2017, at 08:38, =Lawrence Banahan <banahan.l@gmail.com> wrote:------------------------------I was adding =seconds to=20days.
This can't work.
Is there a way to get this work?
[if=20[math]{[todaysdate]}+{[TodaysTIME]}[/math]>[math]{03/ 26/2017}+{12:00:00}[/math]]
[then]Sorry, registration closed.<br>[/then]
[else]Here's the registration form ...<br>[/else]
[/if]I think this =is what you=20want:
[if =[math]{[date]}[/math]>[math]{03/26/2017}[/math]]
[then]Sorry, registration closed.[/then]
[else]Here's the registration =form=20....[/else]
[/if]
Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Web Database Systems and Linux Server Administration---------------------------------------------------------
This message is sent to you because you are subscribed to
the =mailing=20list <talk@webdna.us>.
To =unsubscribe, E-mail to:=20<talk-leave@webdna.us>
archives:==20http://mail.webdna.us/list/talk@webdna.us
Bug Reporting:=20support@webdna.us---------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/ talk@webdna.us Bug Reporting: support@webdna.us---------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/ talk@webdna.us Bug Reporting: support@webdna.us.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
On 28 Mar 2017, at 09:23, Lawrence Banahan <banahan.l@gmail.com>= wrote:This only works if {[TIMENOW}>{[CLOSINGTIME}
if =you connect in the morning timenow is 9am and closing time 12am this =comparaison doesn't work. It works only in the morning.Am I =right?---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list2017-03-28 0:05 GMT+02:00 Stuart Tremain <webdna@idfk.com.au>:------------------------------[IF =([math]{[TODAYSDATE}[/MATH]>[MATH]{[CLOSINGDATEDATE}[/MATH] )&([math]{[TIMENOW}[/MATH]>[ MATH]{[CLOSINGTIME}[/MATH])] [THEN]Sorry, registration =closed.[/THEN][ELSE]Here's the registration =form ...[/ELSE][/IF]On 28 Mar 2017, at 08:38, =Lawrence Banahan <banahan.l@gmail.com> wrote:------------------------------I was adding =seconds to=20days.
This can't work.
Is there a way to get this work?
[if=20[math]{[todaysdate]}+{[TodaysTIME]}[/math]>[math]{03/ 26/2017}+{12:00:00}[/math]]
[then]Sorry, registration closed.<br>[/then]
[else]Here's the registration form ...<br>[/else]
[/if]I think this =is what you=20want:
[if =[math]{[date]}[/math]>[math]{03/26/2017}[/math]]
[then]Sorry, registration closed.[/then]
[else]Here's the registration =form=20....[/else]
[/if]
Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Web Database Systems and Linux Server Administration---------------------------------------------------------
This message is sent to you because you are subscribed to
the =mailing=20list <talk@webdna.us>.
To =unsubscribe, E-mail to:=20<talk-leave@webdna.us>
archives:==20http://mail.webdna.us/list/talk@webdna.us
Bug Reporting:=20support@webdna.us---------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/ talk@webdna.us Bug Reporting: support@webdna.us---------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/ talk@webdna.us Bug Reporting: support@webdna.us.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
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...