getdate
The getdate function is used to return the current system time. The return value format is yyyy-mm-dd hh:mi:ss.
Similar function: current_date. The current_date function returns the current date value. The return value format is yyyy-mm-dd.
Syntax
getdate()
Parameters
None
Return Values
Returns a date value of type STRING, in the format yyyy-mm-dd hh:mi:ss.
Example Code
Assuming the current time is 2023-08-10 10:54:00, returns 2023-08-10 10:54:00.
select getdate();
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot