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

   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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to