Search

Format Current Date

Last Updated: Feb 14, 2022

Articles

Use this function to fetch the current date as per the input format.

Syntax

Format Current Date (date_format)

Parameters

Input Parameter Name Description
date_format Date format to be provided.
To know more about Date Format, click here.

Returns

Return value Description
Date Returns the formatted current date

Sample

Format Current Date (%d/%m/%Y)

  • Fetches the current date and time in the format %d/%m/%Y.
    Returns 30/03/2021.

To view all the Date functions, click here.

Did you find what you were looking for?