Re: [WebDNA] Dead line Time Math

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113512
interpreted = N
texte = 1107 --Apple-Mail=_A637ED57-13B8-45EE-9476-5F2E40785102 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Sorry, I did not take into account that we also need a date =3D Give me a few minutes. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 28 Mar 2017, at 09:23, Lawrence Banahan = wrote: >=20 > 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? >=20 > 2017-03-28 0:05 GMT+02:00 Stuart Tremain >: > [IF = ([MATH]{[TODAYSDATE}[/MATH]>[MATH]{[CLOSINGDATEDATE}[/MATH])&([MATH]{[TIME= NOW}[/MATH]>[MATH]{[CLOSINGTIME}[/MATH])] > [THEN]Sorry, registration closed.[/THEN] > [ELSE]Here's the registration form ...[/ELSE] > [/IF] >=20 >=20 >=20 >=20 > Kind regards >=20 > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >=20 >> On 28 Mar 2017, at 08:38, Lawrence Banahan > wrote: >>=20 >> I was adding seconds to days. >> This can't work. >> Is there a way to get this work? >>=20 >> [if = [math]{[todaysdate]}+{[TodaysTIME]}[/math]>[math]{03/26/2017}+{12:00:00}[/= math]] >> [then]Sorry, registration closed.
[/then] >> [else]Here's the registration form ...
[/else] >> [/if] >>=20 >>> Kenneth Grome 27 mars 2017 = 22:37 >>> I think this is what you want: >>>=20 >>> [if [math]{[date]}[/math]>[math]{03/26/2017}[/math]] >>> [then]Sorry, registration closed.[/then] >>> [else]Here's the registration form ...[/else] >>> [/if] >>>=20 >>> Regards, >>> Kenneth Grome >>> WebDNA Solutions >>> http://www.webdnasolutions.com >>> Web Database Systems and Linux Server Administration >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the 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 to the 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 to the 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 to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_A637ED57-13B8-45EE-9476-5F2E40785102 Content-Type: multipart/related; type="text/html"; boundary="Apple-Mail=_17A75AE3-19E9-4D64-9BA0-37159E729892" --Apple-Mail=_17A75AE3-19E9-4D64-9BA0-37159E729892 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Sorry, I did not take into account that we also need a date = =3D

Give me a few = minutes.


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA






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?

2017-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]




Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 28 Mar 2017, at 08:38, = Lawrence Banahan <banahan.l@gmail.com> wrote:

I was adding = seconds to=20 days.
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]


=20 27 mars 2017=20 22:37
I think this = is what you=20 want:

[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=20 list <talk@webdna.us>.
To = unsubscribe, E-mail to:=20 <talk-leave@webdna.us>
archives:= =20 http://mail.webdna.us/list/talk@webdna.us
Bug Reporting:=20 support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the 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 to the 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 to the 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 to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_17A75AE3-19E9-4D64-9BA0-37159E729892 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=compose-unknown-contact.jpg Content-Type: image/jpeg; x-apple-mail-type=stationery; x-unix-mode=0666; name="compose-unknown-contact.jpg" Content-Id: /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAQEB AQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAARCAAZABkDAREA AhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUKBwAAAAAAAAACAQME BQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAAAAAAAAAAAAADAAEEAv/E ACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oADAMBAAIRAxEAPwDuEt+gW/UL et6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJVIl7eXLCaZIGwBl3TY8epPx2+jy2 ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJ Ew/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx+a69/JSf9alIlste0VzaNpeFrcT9KKymotyi aZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mRUfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRD nu5azS8miKqjOTVkKqS/psG37fo1Fbabeg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GA cpOwBeN+U8/IkGbsiS8b7ryogmbzhbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH 4hPOI0DkjZtaJtFxuVEbIUUiyeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJ nYn9dnAQWl722p4ot37yzqnlfp6FrqbwawG8/9k= --Apple-Mail=_17A75AE3-19E9-4D64-9BA0-37159E729892-- --Apple-Mail=_A637ED57-13B8-45EE-9476-5F2E40785102-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  2. Re: [WebDNA] Dead line Time Math (Tom Duke 2017)
  3. Re: [WebDNA] Dead line Time Math (Michael Davis 2017)
  4. RE: [WebDNA] Dead line Time Math ("Terry Nair" 2017)
  5. RE: [WebDNA] Dead line Time Math ("Terry Nair" 2017)
  6. Re: [WebDNA] Dead line Time Math (Stuart Tremain 2017)
  7. Re: [WebDNA] Dead line Time Math (Stuart Tremain 2017)
  8. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  9. Re: [WebDNA] Dead line Time Math (Stuart Tremain 2017)
  10. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  11. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  12. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  13. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  14. Re: [WebDNA] Dead line Time Math (Kenneth Grome 2017)
  15. [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
1107 --Apple-Mail=_A637ED57-13B8-45EE-9476-5F2E40785102 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Sorry, I did not take into account that we also need a date =3D Give me a few minutes. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 28 Mar 2017, at 09:23, Lawrence Banahan = wrote: >=20 > 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? >=20 > 2017-03-28 0:05 GMT+02:00 Stuart Tremain >: > [IF = ([math]{[TODAYSDATE}[/MATH]>[math]{[CLOSINGDATEDATE}[/MATH])&([math]{[TIME= NOW}[/MATH]>[math]{[CLOSINGTIME}[/MATH])] > [THEN]Sorry, registration closed.[/THEN] > [ELSE]Here's the registration form ...[/ELSE] > [/IF] >=20 >=20 >=20 >=20 > Kind regards >=20 > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >=20 >> On 28 Mar 2017, at 08:38, Lawrence Banahan > wrote: >>=20 >> I was adding seconds to days. >> This can't work. >> Is there a way to get this work? >>=20 >> [if = [math]{[todaysdate]}+{[TodaysTIME]}[/math]>[math]{03/26/2017}+{12:00:00}[/= math]] >> [then]Sorry, registration closed.
[/then] >> [else]Here's the registration form ...
[/else] >> [/if] >>=20 >>> Kenneth Grome 27 mars 2017 = 22:37 >>> I think this is what you want: >>>=20 >>> [if [math]{[date]}[/math]>[math]{03/26/2017}[/math]] >>> [then]Sorry, registration closed.[/then] >>> [else]Here's the registration form ...[/else] >>> [/if] >>>=20 >>> Regards, >>> Kenneth Grome >>> WebDNA Solutions >>> http://www.webdnasolutions.com >>> Web Database Systems and Linux Server Administration >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the 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 to the 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 to the 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 to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_A637ED57-13B8-45EE-9476-5F2E40785102 Content-Type: multipart/related; type="text/html"; boundary="Apple-Mail=_17A75AE3-19E9-4D64-9BA0-37159E729892" --Apple-Mail=_17A75AE3-19E9-4D64-9BA0-37159E729892 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Sorry, I did not take into account that we also need a date = =3D

Give me a few = minutes.


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA






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?

2017-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]




Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 28 Mar 2017, at 08:38, = Lawrence Banahan <banahan.l@gmail.com> wrote:

I was adding = seconds to=20 days.
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]


=20 27 mars 2017=20 22:37
I think this = is what you=20 want:

[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=20 list <talk@webdna.us>.
To = unsubscribe, E-mail to:=20 <talk-leave@webdna.us>
archives:= =20 http://mail.webdna.us/list/talk@webdna.us
Bug Reporting:=20 support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the 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 to the 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 to the 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 to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_17A75AE3-19E9-4D64-9BA0-37159E729892 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=compose-unknown-contact.jpg Content-Type: image/jpeg; x-apple-mail-type=stationery; x-unix-mode=0666; name="compose-unknown-contact.jpg" Content-Id: /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAQEB AQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAARCAAZABkDAREA AhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUKBwAAAAAAAAACAQME BQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAAAAAAAAAAAAADAAEEAv/E ACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oADAMBAAIRAxEAPwDuEt+gW/UL et6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJVIl7eXLCaZIGwBl3TY8epPx2+jy2 ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJ Ew/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx+a69/JSf9alIlste0VzaNpeFrcT9KKymotyi aZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mRUfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRD nu5azS8miKqjOTVkKqS/psG37fo1Fbabeg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GA cpOwBeN+U8/IkGbsiS8b7ryogmbzhbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH 4hPOI0DkjZtaJtFxuVEbIUUiyeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJ nYn9dnAQWl722p4ot37yzqnlfp6FrqbwawG8/9k= --Apple-Mail=_17A75AE3-19E9-4D64-9BA0-37159E729892-- --Apple-Mail=_A637ED57-13B8-45EE-9476-5F2E40785102-- . Stuart Tremain

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:

Date search - yes or no (1997) Re:Formulas.db / Quantity Discount problem (1998) [WebDNA] Parsing XML...again... (2010) Bug in capitalize ... ? (2003) Emailer (WebCat2) (1997) Help (1999) Re[3]: Problem with new formvariables (2000) unsubscribe problems? (2007) [defined]ish (1997) Enhancement Request for WebCatalog-NT (1996) Performance of this mailserver (2000) Searching a database... (2003) Searching an Email database (1997) RE: Checkboxes to add to cart... (1998) Documentation Feedback (1997) Problem: 3.0 doesn't update carts (1997) Showif probably dumb question (1997) [WebDNA] Intermittent Encryption Issue (2009) WebCatalog for guestbook ? (1997) Secured Order Forms (1998)