tumblr tracker

GetMinute

Library Reference ›› DateTime ››
Parent Previous Next

DateTime.GetMinute


Namespace: DateTime


Returns the minute value from a datetime variable.


retval = DateTime.GetMinute(DateTime)


Parameters:

- DateTime; datetime variable or function call returning datetime variable; the datetime value to extract the day from


Returns:

Value between 0 and 59; numeric value.


Example


$val = DateTime.GetMinute(DateTime.GetCurrentDateTime());


After execution the $val variable will contain the current minute value (0 to 59).