getDate

Modified on Tue, 22 Aug 2023

Description

Use this function to get the day of the month of the given date.

Syntax

getDate(date)

Returns

Return ValueDescription
NumberReturns the day of the month of the given date.

Sample

ExampleResultDescription
getDate(date)8Returns the day of the month, which is 8, for the given date.

To view all the Date functions, click here.