This function returns the minute of the given datetime value.
date_get_minute(date);
Argument | Type | Description |
---|---|---|
date | Datetime | The datetime to check. |
myminute = date_get_minute(date_current_datetime());
This would set "myminute" to the current minute.