I am using the Query interface to find objects between a given data range,
"from ObjectA oa where oa.lastModifiedDate >= ? and oa.lastModifiedDatae <=?
Where I am dynamically binding the date values. It works fine except when both the start and end date or the same date but different times.
I looked at the query and it has the 00:00:000 ( hr:min;sec) value for both even though the actual date has the right hr:min:sec on it
( 'Jul 21 2004 12:00:00:000AM', 'Jul 21 2004 12:00:00:000AM', )
Is there some setting/date format I have to do have hr:min:sec included?
thanks
Rama
|