Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

getTime


String

getTime()

Gets the current time of day from the system clock in 24-hour format and returns it in a string.

Parameter:

This function takes no parameters.

Returns:

String containing the current time in 24-hour format.

Example:

time = getTime() // time contains the current time, e.g. "09:49:46".

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Console Management, BMC AMI Ops Console Automation, and BMC AMI Ops SecureHMC 4.1