Phil,  

Ahh, good catch, I believe you are correct.   Thankfully, this should be a very 
very rare occurrence.  Thanks!

Should be:
0073   IF DATE.NOW # DATE() AND TIME() < TIME.NOW THEN DATE.NOW = DATE()

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Phil Walker
Sent: Tuesday, August 27, 2013 11:51 AM
To: U2 Users List
Subject: Re: [U2] universe 11.1 triggers via indexing and @IDX.IOTYPE sample

Should line 73 of your program be < rather than > for the time as when the date 
has changed, the time will be less than the time of the date - 1 which you have 
just set.


0068   DATE.NOW = DATE()
0069   TIME.NOW = TIME()

0073   IF DATE.NOW # DATE() AND TIME() > TIME.NOW THEN DATE.NOW = DATE()

Example:

DATE.NOW = 16789
TIME.NOW = 83999

DATE() = 16790
TIME() = 1

Might be wrong....

_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_____________________________________________________________________________
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to