I believe the Z suffix in the datetime you've pasted above (ex: 2024-09-13T14:08:30Z) signify that the datetimes are in GMT/UTC time.
https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)
Z
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am using Java Azure SDK for getting key vault key properties
keyVaultKey.getProperties().getNotBefore()
keyVaultKey.getProperties().getExpiresOn()
returns date & time but zone information is missing
2024-09-13T14:08:30Z
Please help on this.
I believe the Z suffix in the datetime you've pasted above (ex: 2024-09-13T14:08:30Z) signify that the datetimes are in GMT/UTC time.
https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)
Z
Hi @Sagar Lonkar ,
Thanks for reaching out.
Key attributes ExpiryOn and NotBefore gets the date in UTC format.
UTC datetime format is Y-m-d'T'H:M:S'Z'.
Hope this will help.
Thanks,
Shweta
-----------------------------------------
Please remember to "Accept Answer" if answer helped you.