BillNoble Member Licensed User Longtime User Jun 11, 2026 #1 Hi [SOLVED] Can anyone point me in the direction... I have web service which is retutning a date-time in UTC format and i wish to display this as dd/MM/yyy B4a Thanks Last edited: Jun 11, 2026
Hi [SOLVED] Can anyone point me in the direction... I have web service which is retutning a date-time in UTC format and i wish to display this as dd/MM/yyy B4a Thanks
Solution BillNoble Jun 11, 2026 [SOLVED] Thanks for the reply asales. I only wanted the Date section , so I simply used "time_last_update_utc.SubString2(0, 17)" Cheers Bill
[SOLVED] Thanks for the reply asales. I only wanted the Date section , so I simply used "time_last_update_utc.SubString2(0, 17)" Cheers Bill
asales Expert Licensed User Longtime User Jun 11, 2026 #2 There are several topics about the UTC in the forum. Use the search engine. Check this. You can convert to ticks and back to any format that you need: Convert UTC to ticks and vice versa I am retrieving a time-stamp that can come in one of three flavors: "2014-01-01T03:08:04+0000" or "2014-01-02T17:06:18.866Z" or "Sun Jan 05 22:54:05 +0000 2014". When I dealt with these in .NET I used the built-in properties of the Date object to convert them to/from local time: Public... www.b4x.com Upvote 0
There are several topics about the UTC in the forum. Use the search engine. Check this. You can convert to ticks and back to any format that you need: Convert UTC to ticks and vice versa I am retrieving a time-stamp that can come in one of three flavors: "2014-01-01T03:08:04+0000" or "2014-01-02T17:06:18.866Z" or "Sun Jan 05 22:54:05 +0000 2014". When I dealt with these in .NET I used the built-in properties of the Date object to convert them to/from local time: Public... www.b4x.com
BillNoble Member Licensed User Longtime User Jun 11, 2026 #3 [SOLVED] Thanks for the reply asales. I only wanted the Date section , so I simply used "time_last_update_utc.SubString2(0, 17)" Cheers Bill Upvote 0 Solution
[SOLVED] Thanks for the reply asales. I only wanted the Date section , so I simply used "time_last_update_utc.SubString2(0, 17)" Cheers Bill