Convert A String To A Timestamp
> select '2018-10-24'::timestamptz;
timestamptz
------------------------
2018-10-24 00:00:00-05> select to_timestamp('2018-10-24', 'YYYY-MM-DD');
to_timestamp
------------------------
2018-10-24 00:00:00-05Last updated