N-central Help

Get Last Boot Time

Returns the time when the local machine was last restarted.

Privileges

Normal

Input Parameters

None

Output Parameters

Name Type Description
dtLastBootTime DateTime The local time of the last restart.
dtLastBootTime_UTC DateTime The local time of the last restart UTC.
LastBootTimeString String The string value of the last startup time.
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.