Deluge - convert datetime from api response to local time zone

Deluge - convert datetime from api response to local time zone


I use the following testing code:

I would like to know why the result is "21-Jun-2016 04:16:14"...
  1. Why is the hour = 04? 
  2. The result I expected would be = 18:16:14 (UTC +2)


Where do I actually get this string: "2016-06-21T13:16:14.000Z" ?!
--> I use the Zoho Desk API
--> GET /api/v1/tickets/{ticket_id}
--> And use the value of the value "modifiedTime"

Best regards,

            Zoho Marketing Automation
                    • Sticky Posts

                    • Function #41: Sync Associated Subforms!

                      Welcome back everyone! The last custom function showed how to update a Contact with Product details from it's Related list in Deals. This week, let's look at a function that lets you update subform records in two modules simultaneously when one of them is updated. Business scenario Let's look at how subform helps in an education institution that has deployed Zoho CRM. National Public School, Austin (made up, of course!) has set up Zoho CRM and it follows the same relationship pattern of "Students",

                    Zoho Pagesense Resources

                      Zoho SalesIQ Resources

                            Zoho TeamInbox Resources

                              Zoho DataPrep Resources

                                Zoho CRM Plus Resources

                                  Zoho Books Resources

                                    Zoho Subscriptions Resources

                                      Zoho Desk Resources

                                        Zoho Projects Resources

                                          Zoho Sprints Resources

                                            Qntrl Resources

                                              Zoho Creator Resources

                                                Zoho WorkDrive Resources

                                                    Zoho Campaigns Resources

                                                      Zoho CRM Resources

                                                            Design. Discuss. Deliver.

                                                            Create visually engaging stories with Zoho Show.

                                                            Get Started Now