getTime
|
|
Mode
|
|
An enumerated integer specifying the return value. Must be one of the following values:
|
|
TIME_ALL returns the string containing the current date and time
|
TIME_HRS returns the current hour.
|
TIME_MIN returns the current minute.
|
TIME_SEC returns the current second
|
TIME_DAY returns the current day
|
TIME_MNT returns the current month
|
TIME_YER returns the current year
|
|
|
If Mode is set to TIME_ALL, the return value is a string; in all other cases it is an integer value representing the selected mode.
|
|
|
Print getTime(TIME_ALL)
|
Print "Current hour: ", getTime(TIME_HOUR)
|