If you did not enjoy handling dates and times before, I would recommend you going through my post and hopefully, you will change your mind. Let’s start.

If you would like to display the date, time with the timezone at the end, you can use either now() or CURRENT_TIMESTAMP as follows

If you would like to display the date, time without the timezone , you can use now()::timestamp  or LOCALTIMESTAMP  as follows

#postgresql #timezone #dates #times #timestamp #aclearsummary

A Clear Summary of Dates, Times, and Timestamp Functions With PostgreSQL
1.15 GEEK