Search

Get Current Date

Last Updated: Feb 14, 2022

Articles

Use this function to fetch the current date in the predefined format of %Y-%m-%d %H:%M:%S.

Syntax

Get Current Date ()

Returns

Return value Description
Date Returns the current date in predefined format %Y-%m-%d %H:%M:%S

Sample

Get Current Date ()

  • Fetches the current date.
    Returns 2021-03-18 17:26:20.915373.

To view all the Date functions, click here.

Did you find what you were looking for?