Converting time OR date strings into time objects?
I have a list of strings that either contain a timestamp OR contain a date, for example:
- 2020-02-29T18:50:00+05:30
- 2020-02-28T02:30:00+05:30
- 2020-02-28
What it the easiest way to iterate over them and convert each of them either into a time object or a date object, as applicable?
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
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
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.