Without argument, or with the -capture flag, this command will output the target date and time string according to the target's locale. With the optional flag the captured output string can be accessed from the <agent_handle>.get-captured-output command. Alternatively either <agent_handle>.run-until-job or <agent_handle>.wait-for-job, with the -capture flag, can be used.
With the -now flag, set the time using the host system's current date and time. With the datetime argument, set the date and time using a string that must be of the RFC2822-date format. For example "2014-01-31 14:15:16" or "Fri, 31 Jan 2014 14:15:16". The date string may contain a UTC timezone suffix.