jeet1224
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2017
05:25 AM
How to convert date time according to local rokusg device timezone from other timezone date time formats?
I want to convert date time according to my local rokusg device timezone from other timezone format ("EEE, dd MMM yyyy HH:mm:ss ZZZ","yyyy-MM-dd hh:mm:ss.SSSSxx","yyyy-MM-dd hh:mm:ss.SSSxxx","yyyy-MM-dd hh:mm:ss.SSxxxx","yyyy-MM-dd hh:mm:ss.Sxxxxx","yyyy-MM-dd hh:mm:ss").
date = CreateObject("roDateTime")
date.FromISO8601String()
I use this FromISO8601String() method but it is working fine with "2009-01-01 01:00:00.000" format only but I want support mentioned all above format.
Please Help and provide a example for convert date time format according to timezone.
date = CreateObject("roDateTime")
date.FromISO8601String()
I use this FromISO8601String() method but it is working fine with "2009-01-01 01:00:00.000" format only but I want support mentioned all above format.
Please Help and provide a example for convert date time format according to timezone.