Skip to main content
Solved

retention datetime fetched via API and on GUI is different

  • August 29, 2024
  • 1 reply
  • 26 views

Forum|alt.badge.img+7

I have pulled the retention details of the VM client via api. It is in unix epoch time so I had to convert it to human readable format. The datetime on commvault GUI and API is different.

Below information is fetched via API:

Unix epoch time: 1728697951
Retained until: 2024-10-12 01:52:31

Below is from the GUI
 

 

Best answer by Brian Bruno

Hi @RandomCustomer,

 

The epoch time returned by the API is going to be in UTC, whereas the GUI will return the date in the local time zone.  My assumption is that if you were to convert the date you returned via API into your local time zone, it would land on the same date.

 

-Brian Bruno

View original
Did this answer your question?

1 reply

Forum|alt.badge.img+13
  • Vaulter
  • 166 replies
  • Answer
  • August 29, 2024

Hi @RandomCustomer,

 

The epoch time returned by the API is going to be in UTC, whereas the GUI will return the date in the local time zone.  My assumption is that if you were to convert the date you returned via API into your local time zone, it would land on the same date.

 

-Brian Bruno


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings