Hi guys,
I have a problem with a page where I request a StartDate and an EndDate for an online report. However when the dates are the same or the EndDate is blank and defaults to the StartDate, the SQL query won't work. I assum this is because the time portion of the date fields defaults to 12:00:00AM and therefore the result is null. How can I adjust to make the EndDate time portion default to 11:59:59 PM? I tried adding the time on at then end...
ie EndDate = EndDate & "11:59:59 PM" but this doesn't seem to work for the query. I am using an Oracle DB to query from.
Any suggestions??
Bastien
I have a problem with a page where I request a StartDate and an EndDate for an online report. However when the dates are the same or the EndDate is blank and defaults to the StartDate, the SQL query won't work. I assum this is because the time portion of the date fields defaults to 12:00:00AM and therefore the result is null. How can I adjust to make the EndDate time portion default to 11:59:59 PM? I tried adding the time on at then end...
ie EndDate = EndDate & "11:59:59 PM" but this doesn't seem to work for the query. I am using an Oracle DB to query from.
Any suggestions??
Bastien