Zoho Deluge: Convert Xero Date (Unix Timestamp) to Standard Date String
- Joel Lipman
- Zoho
- Hits: 38634
So this is a super quick note that I'll probably remember anyway but just in case, I'm writing this article so I don't spend time researching it later.
Why?
I'm synchronizing Xero Invoices with Zoho CRM Invoices and noticed that Xero stores its dates in Unix Timestamps.
How?
We're going to filter out the unix seconds from the date provided by Xero then apply a toTime() function to it.