Converting date to Unix UTC millisecond

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: 
  1. string UnixDate(string myTime, string unixTime)
  2. {
  3. unixTime = myTime.unixEpoch("UTC");
  4. return unixTime;
  5. }
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. 
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      • Topic Participants

      • max

      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方