Availability
This routine is available since katl-commons 1.0 .
Syntax:
minute(date)
Description:
Returns the minutes of the provided date (0-59).Parameters:
Parameter name | Type | Required | Description |
---|---|---|---|
date | date | Yes | Specifies a Date or a DateTime expression |
Return type:
number
Example:
Example 1:
print("Minute is " + minute(currentDate()));
Example 2:
date varDateTime = "2011-08-17T18:30:55"; print("Minute is " + minute(varDateTime));
Print Minute is 30
See Also: