Details
-
Task
-
Status: Stalled (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
I want to get the time zone from a date+time plus location. Some cities in the world exist in different time zones, depending on the time of the year.
Something like `TIME_ZONE_ABBREVIATION(dateTimeExpression, timeZoneLocation)`.
2022-01-01 00:00:00 in Europe/Amsterdam should give CET. |
2022-06-01 00:00:00 in Europe/Amsterdam should give CEST. |
2022-01-01 00:00:00 in Europe/Istanbul should give EET. |
Time zone information is not stored along date time values, which make this a hard or impossible task to work around.
Attachments
Issue Links
- relates to
-
MDEV-31684 Add timezone information to DATE_FORMAT
-
- Closed
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Description |
I want to get the time zone from a date+time plus location. Some cities in the world exist in different time zones, depending on the time of the year.
Something like `TIME_ZONE_ABBREVIATION(dateTimeExpression, timeZoneLocation)`. {{2022-01-01 00:00:00 in Europe/Amsterdam should give CET. 2022-06-01 00:00:00 in Europe/Amsterdam should give CEST. 2022-01-01 00:00:00 in Europe/Istanbul should give EET.}} Time zone information is not stored along date time values, which make this a hard or impossible task to work around. |
I want to get the time zone from a date+time plus location. Some cities in the world exist in different time zones, depending on the time of the year.
Something like `TIME_ZONE_ABBREVIATION(dateTimeExpression, timeZoneLocation)`. {code:java} 2022-01-01 00:00:00 in Europe/Amsterdam should give CET. 2022-06-01 00:00:00 in Europe/Amsterdam should give CEST. 2022-01-01 00:00:00 in Europe/Istanbul should give EET. {code} Time zone information is not stored along date time values, which make this a hard or impossible task to work around. |
Remote Link | This issue links to "Same DBA stack exchange question (Web Link)" [ 34981 ] |
Component/s | Time zones [ 10108 ] |
issue.field.resolutiondate | 2023-05-22 22:04:13.0 | 2023-05-22 22:04:13.378 |
Fix Version/s | N/A [ 14700 ] | |
Assignee | Sergei Golubchik [ serg ] | |
Resolution | Won't Fix [ 2 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Link |
This issue relates to |
Summary | Create a function to format a date + time to show the time zone at a given location. | Function to print a time zone abbreviation for a given time zone at a given date |
Resolution | Won't Fix [ 2 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Assignee | Sergei Golubchik [ serg ] |
Fix Version/s | N/A [ 14700 ] |