tumblr tracker

GetCurrentDateTime

Library Reference ›› DateTime ››
Parent Previous Next

DateTime.GetCurrentDateTime


Namespace: DateTime


Returns the current date and time.


retval = DateTime.GetCurrentDateTime()


Parameters:

none


Returns:

Current date and time; datetime value.


Example


$val = DateTime.GetCurrentDateTime();


After execution the $val variable will contain the current date and time value.