Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 319 Bytes

generate-current-timestamp-without-timezone.md

File metadata and controls

13 lines (7 loc) · 319 Bytes

How To Generate a Current Timestamp Without TimeZone


In PostgreSQL you may find that you need a current timestamp without timezone for some reason, maybe an example or a test. You can generate a current timestamp without timezone by using this command:

select now()::timestamp;