select distinct date(created_at::TIMESTAMPTZ) as date from event_logging where date(created_at) > CURRENT_DATE - INTERVAL ‘5’ day order by date(created_at) desc
select distinct to_timestamp(created_at)::date as date from event_logging where date(created_at) > CURRENT_DATE - INTERVAL ‘5’ day order by date(created_at) desc
select distinct to_char(created_at::timestamp,'YYYY-MM-DD HH24:MI:SS')) as date from event_logging where date(created_at) > CURRENT_DATE - INTERVAL ‘5’ day order by date(created_at) desc