cosmic 0 Report post Posted November 14, 2006 I need to verify that a text time entry (I know there's the time entry component, but nobody liked that one, they would rather type in a text form of the times) from a user input ends on the quarter hour. I know that I can split the entry apart and check the last two digits for 15, 30, 45 or 00, but was wondering if there's a different/better way. Share this post Link to post Share on other sites
pyost 0 Report post Posted November 14, 2006 I don't think there's anything better. Just extract the last two digits (let's call it "exct" and set up this condition if (exct mod 15 = 0) and (exct < 46) then condition:=true; Whereas there must be numerous solution to this, I am sure you don't want to complicate things unnecessarily. Share this post Link to post Share on other sites