Share via

CreateInstallation Expected Expiration Time Format

OKireev 0 Reputation points
2024-08-05T13:06:00+00:00

https://learn.microsoft.com/en-us/javascript/api/@azure/notification-hubs/devicetokeninstallation?view=azure-node-latest#@azure-notification-hubs-devicetokeninstallation-expirationtime

Hi I want to use the expirationTime property and it says it gets a string.

I was wondering what is the expected timeformat is it

  1. Unix timestamp in ms: 1722863094226
  2. Unix timestamp in seconds: 1722863094
  3. Some sort of time specific format e.g "3600s"
  4. ISO datetime

Edit: I found out it was ISO datetime string.

Azure Notification Hubs
Azure Notification Hubs

An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.

0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.