...
Code Block | ||
---|---|---|
| ||
SELECT TD_DATE_TRUNC('day', time, 'PST') FROM tbl |
the function returns 1416758400
because 1416729600 because the start of the day for the ‘PST’ timezone is 8 hours behind the start of the day for ‘UTC’.
...
...
Code Block | ||
---|---|---|
| ||
SELECT TD_DATE_TRUNC('day', time, 'PST') FROM tbl |
the function returns 1416758400
because 1416729600 because the start of the day for the ‘PST’ timezone is 8 hours behind the start of the day for ‘UTC’.
...