Converting date to Unix UTC millisecond
Hello,
I need to create a function that will convert/return my date from Calendly in the following format: "2022-08-10T14:00:00.000000Z" to a UTC timestamp value in milliseconds. Can someone help?
I tried the following:
- string UnixDate(string myTime, string unixTime)
- {
- unixTime = myTime.unixEpoch("UTC");
- return unixTime;
- }
However, the API client I am sending it to is viewing it in the wrong time zone. Not sure what I am doing wrong. I would really appreciate any support.
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.