跳至內容

RDS SQL Instance Time Zone for UK Daylight Savings

0

I need to create an RDS SQL Instance with a time zone that is tolerant of UK daylight savings changes. From the RDS documentation, I can see there is a time zone called "GMT Standard Time" that is tolerant of UK daylight savings changes. If I select this time zone does the RDS SQL instance time automatically change in line with UK daylight savings?

2 個答案
1
已接受的答案

Hi,

According to https://repost.aws/knowledge-center/rds-change-time-zone

It’s a best practice to use the UTC time zone at the database layer. Because UTC doesn't observe daylight savings (DST), you don’t have to adjust the time later when it shifts.

Hope it helps and if it does I would appreciate the answer to be accepted so that community can benefit for clarity, thanks ;)

專家

已回答 3 年前

專家

已審閱 2 年前

0

Hi all,

We've moved our on-premise application to AWS and all default date time stamps for table columns and stored procedures are based on GETDATE() we NEED the DB instance to observe daylight savings as it is now causing us a massive headache.

All our clients are UK based, it is completely impractical and nigh-on impossible for us to modify our entire db or client codebase to handle DST in-code especially as it was previously just handled by the underlying OS that we installed the MSSQL instance to when our solution was deployed on-premise.

Is there a workaround to make the RDS instance observe DST? It doesn't look like it according to the timezone settings documentaion, non of the "local" timezones observe DST, which kind of negates the point of having local timezones IMHO....

Many thanks, Dean

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。