get_virtual_datetime_m
Summary
| API Name | get_virtual_datetime_m |
|---|---|
| Class | system_services_m |
| Update Version | 3.5 |
Description
Returns the current virtual date, and virtual time for the given client, plus actual system date and system time, and the number of offset hours between the virtual and system date/time. In Production systems these values will have no offset/delta between them as virtual time is only supported in non-production systems.
Inputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| client_no | long | 22 | Yes |
Aria-assigned unique identifier indicating the Aria client providing service to this account. |
| auth_key | string | 32 | Yes |
Aria-assigned unique key for authenticating the validity of the requestor. This key is passed with each method call. |
Outputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| error_code | long | No |
Aria-assigned error identifier. 0 indicates no error. |
|
| error_msg | string | No |
Description of any error that occurred. "OK" if there was no error. |
|
| virtual_date | string | No |
The current virtual system date for the given client, in format yyyy-mm-dd (after application of input parameter "offset_hours"). |
|
| virtual_time | string | No |
The current virtual system time for the given client, in format hh24:mi:ss (after application of input parameter "offset_hours"). |
|
| system_date | string | No |
The current actual system date,in format yyyy-mm-dd. |
|
| system_time | string | No |
The current actual system time,in format hh24:mi:ss. |
|
| current_offset_hours | long | No |
The difference, in truncated hours, between the client's current virtual date/time and the actual system date/time. Will always be zero or a positive integer in non-production systems, and will always be a zero in production systems after application of input parameter "offset_hours"). |
|
| is_batch_running | string | No |
Returns "Y" or "N" depending on if the batch jobs are running in the background. |