2

I need a time zone which UTC+02:00 in winter time and switch to summer time (UTC+03:00) at first Sunday of March and switch back at first Sunday of November (the same as American DST rule).

All city I found in PostgreSQL database switch to UTC+03:00 at last Sunday of October and switch back UTC+02:00 at last Sunday of March

1
  • Which operating system are you using? Commented Jan 28, 2020 at 8:16

1 Answer 1

2

PostgreSQL gets its time zone information from the IANA Time Zone Database, either the version installed on your operating system, or a private copy owned by PostgreSQL. Which one is used depends on how PostgreSQL was configured at build time (look for --with-system-tzdata in the output of pg_config --configure).

To add a new time zone, you'd have to modify that time zone database. The Wikipedia page has an introduction to the format and the procedure.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.