getMinutes

Modified on Tue, 22 Aug 2023

Description

Use this function to get the minutes of the given date.

Syntax

getMinutes(date)

Returns

Return ValueDescription
NumberReturns the minutes of the given date.

Sample

ExampleResultDescription
getMinutes(2023-04-08 13:42:55)42The function extracts the minutes from the date and returns it, which is 42.

To view all the Date functions, click here.

See Also