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

DateTime Selection

Status
Not open for further replies.

phraxus

Technical User
Jun 21, 2005
2
GB
I have a report which is currently pulling call data from a stored procedure, which is date specified within crystal (10). But I need to specify the only after hours calls.

DateTime format is 2004-10-21 18:03:30.590. Need something that will specify calls between hours of 17:00 and 07:00.

Any help would be appreciated.

Thanks
 
Timevalue({mytable.myfield})>=timevalue(17,0,0)
or
Timevalue({mytable.myfield})<=timevalue(7,0,0)

as a record selection formula.
 
Thanks lupins46 will give it a try now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top