Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get system clock

Returns the date and time of the system, along with the configured timezone and whether NTP is being used.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/file-devices/system-clock
Return codes
Code Data Description
200 systemClock System clock details successfully retrieved
500 Error message Error associated with the storage system.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/file-devices/system-clock
Response example
HTTP/1.1 200 OK
{
  "systemClock": {
    "isDstInEffect": true,
    "isNtpConfigured": true,
    "localDate": "2022-07-25",
    "localDateTime": "2022-07-25 13:23:53+01:00",
    "localTime": "13:23:53",
    "localUtcOffset": 3600,
    "posixTime": 1658751833,
    "timezone": "Europe/London"
  }
}

 

  • Was this article helpful?