Date conversion, '20130205 23:59:59'
994691Mar 19 2013 — edited Mar 19 2013Hello every one,
Can any one please suggest me how to write the sql query for '20130317 23:59:59' .
In the above it is hard coded,
I want to use this in a sql query, where it will give the result as current date-2 , which is today march 19th so it should return march 17th.
But I can use 'sysdate-2' to get march 17th, but how to get the other part 23:59:59. can any one help me in it ASAP
Thanks.
Edited by: 991688 on Mar 19, 2013 12:01 PM