|
|
|
|
|
by misterio7
1118 days ago
|
|
The server's timezone is not even relevant. By using timestamptz, you include the timezone together with the timestamp, meaning you can be absolutely sure that the time stored is indeed UTC! You avoid the mistake of mixing up local times and UTC and forgetting to convert them. |
|
This seems counterintuitive, aren't timestamps essentially number of seconds passed since 1 jan 1970 00:00 utc?