Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Establish if a time record falls within a Core Period. 1

Status
Not open for further replies.

barrattp

MIS
Joined
Jun 22, 2003
Messages
4
Location
AU
I am trying to create an IF Statement that will establish if a Date/Time field falls within the core period of between 7:30am and 4:09pm. I am after a "Y" or "N" result.
 
Something like this should work:

if time({table.datetime}) in time (07,30,00) to time(16,09,00) then "Y" else "N"

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top