MySQL Forums
Forum List  »  Docs

Re: Timezone related fields in DATE_FORMAT() specifiers
Posted by: Athanasios Viennas
Date: March 21, 2020 12:17PM

Hello, thank you for the follow-up. So for a value such as 'Sun, 23 Feb 2020 02:01:31 -0600', there has to be normalization of both, a) base date and b) tz offset , before passing them to CONVERT_TZ(). As the source value maybe in 1 of 6 different formats, I guess the most straight forward handling would be to use a custom udf.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Timezone related fields in DATE_FORMAT() specifiers
447
March 21, 2020 12:17PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.