ISO 8601 date-time -> Timezone?
# support
a
What is the timezone (if any) used in the getCall API for the createdAT? From the documentation: This is the ISO 8601 date-time string of when the call was created. ISO 8601 as far as I know doens't have timezone, so are we and we will be always using UTC?
v
You can continue this conversation by mentioning me in the message.
@Alberto Yes, you are correct that ISO 8601 is a date and time format that can be used without specifying a timezone, and it is often used in conjunction with UTC (Coordinated Universal Time) to ensure consistency across different systems and locations. In the context of the getCall API, unless otherwise specified, the
createdAt
timestamp is typically provided in UTC. This is a common practice to avoid confusion that might arise from timezone differences, especially in APIs that are used globally. If you need to convert the
createdAt
timestamp to a specific timezone, you can do so by applying the appropriate conversion based on the desired timezone. If you have a specific timezone in mind, please provide it, and I can assist you with the conversion process.
@Vapi Sweet. Have a great day!
@Alberto Sweet. Have a great day!
s
just add a prompt to convert it to your timezone
a
All good, i need it in UTC 🙂 I just want to have the confirmation
5 Views