Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

timestamp question and filtering

user13328581Sep 22 2021

hello experts,
i have been searching oracle documentation for the right timestamp format for the following data below because I would like to only extract YYYY-MM-DD from it to use it for my date filtering in another code but unfortunately, I have been able to find it so far.
Please see sample code below

with t (req_timeinfo) as
(
select '2021-07-21T21:54:38.994+00:00' from dual
union all
select '2021-08-21T21:52:22.643+00:00' from dual
union all
select '2021-04-21T21:20:22.643+00:00' from dual
union all
select '2021-02-21T21:36:22.643+00:00' from dual
)
select * from t

This post has been answered by Frank Kulash on Sep 22 2021
Jump to Answer
Comments
Post Details
Added on Sep 22 2021
11 comments
3,492 views