justfortaste opened a new pull request, #40293:
URL: https://github.com/apache/doris/pull/40293

   SELECT TIMESTAMP("2008-12-25 15:30:00", "America/Los_Angeles") AS 
timestamp_str;
   +---------------------+
   | timestamp_str |
   +---------------------+
   | 2008-12-24 23:30:00 |
   +---------------------+
   1 row in set (0.01 sec)
   
   select date(datetime '2020-01-01 23:00:00','Asia/Shanghai');
   +----------------------------------------------------------------+
   | date(CAST('2020-01-01 23:00:00' AS datetime), 'Asia/Shanghai') |
   +----------------------------------------------------------------+
   | 2020-01-02 |
   +----------------------------------------------------------------+


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to