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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports date formula

Status
Not open for further replies.

IanHallett

IS-IT--Management
Sep 27, 2001
15
GB
I have what is hopefully a simple question regarding the syntax of a date formula.

I have a date field that I want to check against to see if it is before or after 9am, I have tried a number of variations of the formula below but cannot get it to work

If ({TimeField})>"09:00" then 1 else 0

Any help would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top