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

Where Clause DateTime formats

Status
Not open for further replies.

KidFix

Programmer
Feb 7, 2002
60
US
ello all

thanks for reading my thread. Can anyone tell me what format DateTime fields can be passed into a report in the where clause?

I've got a few reports that pass in dates like this:

{SDK_VW_WorkOrdersReporting.DateTimeCreated} >= Date(2003,02,13)

but none that handle DateTimes

Thanks
 
DateTimes are represented as DateTime(yyyy,MM,dd,hh,mi,ss).

e.g.: DateTime(2003,03,13,14,00,01) for 2:02pm today.

Naith
 
try this:

{SDK_VW_WorkOrdersReporting.DateTimeCreated} >=

DateTime (YYYY,MM,DD,HH,MM,SS)
 
one last thing, is this the only format that it'll accept
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top