Re: [WebDNA] Dead line Time Math

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113511
interpreted = N
texte = 1106 --001a114c8a4cc978e9054bbdcd21 Content-Type: multipart/alternative; boundary=001a114c8a4cc978e5054bbdcd20 --001a114c8a4cc978e5054bbdcd20 Content-Type: text/plain; charset=UTF-8 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 : > [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 > webdna@idfk.com.au > > > > > > > On 28 Mar 2017, at 08:38, Lawrence Banahan wrote: > > I was adding seconds to days. > This can't work. > Is there a way to get this work? > > [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] > > Kenneth Grome > 27 mars 2017 22:37 > I think this is what you want: > > [if [math]{[date]}[/math]>[math]{03/26/2017}[/math]] > [then]Sorry, registration closed.[/then] > [else]Here's the registration form ...[/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 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 --001a114c8a4cc978e5054bbdcd20 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This only works if=C2=A0{= [TIMENOW}>{[CLOSINGTIME}
if y= ou connect in the morning timenow is 9am and closing time 12am this compara= ison 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, re= gistration closed.[/THEN]
[ELSE]Here's the re= gistration form ...[/ELSE]
[/IF]




<= div>
Kind regards

Stuart Tremain
Pha= roah Lane Software
AUSTRALIA




<= br class=3D"m_-218547222873367194Apple-interchange-newline">

On 28 Mar 20= 17, 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 Solutionshttp://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 unsubs= cribe, E-mail to:=20 <talk-leave@webdna.us>
arc= hives:=20 http://mail.webdna.us/lis= t/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: suppo= rt@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: suppo= rt@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 --001a114c8a4cc978e5054bbdcd20-- --001a114c8a4cc978e9054bbdcd21 Content-Type: image/jpeg; x-apple-mail-type=stationery; x-unix-mode=0666; name="compose-unknown-contact.jpg" Content-Disposition: inline; filename="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: 8f5ed84b6cdd67fb_0.1.1 /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= --001a114c8a4cc978e9054bbdcd21-- . 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)
1106 --001a114c8a4cc978e9054bbdcd21 Content-Type: multipart/alternative; boundary=001a114c8a4cc978e5054bbdcd20 --001a114c8a4cc978e5054bbdcd20 Content-Type: text/plain; charset=UTF-8 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 : > [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 > webdna@idfk.com.au > > > > > > > On 28 Mar 2017, at 08:38, Lawrence Banahan wrote: > > I was adding seconds to days. > This can't work. > Is there a way to get this work? > > [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] > > Kenneth Grome > 27 mars 2017 22:37 > I think this is what you want: > > [if [math]{[date]}[/math]>[math]{03/26/2017}[/math]] > [then]Sorry, registration closed.[/then] > [else]Here's the registration form ...[/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 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 --001a114c8a4cc978e5054bbdcd20 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This only works if=C2=A0{= [TIMENOW}>{[CLOSINGTIME}
if y= ou connect in the morning timenow is 9am and closing time 12am this compara= ison 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, re= gistration closed.[/THEN]
[ELSE]Here's the re= gistration form ...[/ELSE]
[/IF]




<= div>
Kind regards

Stuart Tremain
Pha= roah Lane Software
AUSTRALIA




<= br class=3D"m_-218547222873367194Apple-interchange-newline">

On 28 Mar 20= 17, 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 Solutionshttp://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 unsubs= cribe, E-mail to:=20 <talk-leave@webdna.us>
arc= hives:=20 http://mail.webdna.us/lis= t/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: suppo= rt@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: suppo= rt@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 --001a114c8a4cc978e5054bbdcd20-- --001a114c8a4cc978e9054bbdcd21 Content-Type: image/jpeg; x-apple-mail-type=stationery; x-unix-mode=0666; name="compose-unknown-contact.jpg" Content-Disposition: inline; filename="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: 8f5ed84b6cdd67fb_0.1.1 /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= --001a114c8a4cc978e9054bbdcd21-- . Lawrence Banahan

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:

RE: E-mailer error codes (1997) Great product and great job ! (1997) [protect admin] (1997) Merging databases (1997) More on the email templates (1997) WebCatalog Mac 2.1b3 (1997) WebCat b13 CGI -shownext- (1997) Tax on Shipping question (1998) OT-JS why it does not run on Mac (2001) Copyright ? (1997) Databases inside [SHOWIF] (1998) Calculating multiple shipping... (1997) Signal Raised (1997) listfiles, moving files (1998) For those of you not on the WebCatalog Beta... (1997) repost: sending a down arrow (2000) RE: Supressing Error Messages (1998) Country & Ship-to address & other fields ? (1997) Why limit the length of a [math] variable name? (1999) WebCat2.0 [format thousands .0f] no go (1997)