Search

Get Date Field Value

Articles

Use this function to fetch the value of day, month, or year from the input date.

Syntax

Get Date Field Value (field_name, input_date)

Parameters

Input Parameter Name Description
field_name Field name. (Accepted field names are year, month, and day)
input_date Date in the format dd-mm-yyyy

Returns

Return value Description
Year or month or day Returns the Year or month or day of input date

Sample

Get Date Field Value (month, 01-03-2021)

  • Fetches month from the date 01-03-2021.
    Returns March.

To view all the Date functions, click here.

Did you find what you were looking for?