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

Time comparison

Status
Not open for further replies.

maengler2000

Technical User
Feb 2, 2012
7
US
I am using CR2008.

I am trying to compare a time field to a specific time. I am having a hard time hard coding the time, doesn't like format.

table1.starttime > 07:30 am and
table1.endtime < 03:30 pm
 
Try:

Code:
{table1.starttime} > Time(07,30,0) and
{table1.endtime} < Time(15,30,0)

Cheers
Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top