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

Append time in criteria?

Status
Not open for further replies.

natashiakk

Technical User
Sep 2, 2003
27
SG
I am new to xml. We have a application where the report generation is in xml. One of the report printed all the job run on current day. However, our report requirement is to list the job run the day before after 8pm.

I am trying to modify the report, but only manage to get it to list all job run the day before, but can not append the 8pm criteria.

Here is the orginal settings:
asdate(job_record.jobstarttime) > convert(today, char, 11, 'yyyy-mm-dd')

I change it to the following:
asdate(job_record.jobstarttime) > convert(today-1, char, 11, 'yyyy-mm-dd')

How to append the time 20:00:00 on top of what I have modified.

Thanks for any advice in advance.

regards,
kk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top