Hi,
I need a iso date string. This should be
But this works only in newer Android versions. In older versions (e.g. 5.0, 6.0) it crashes (Unknown pattern character 'X').
I now replace 'XXX' with '+02:00' in the catch, but that seems a bit clumpsy...
Is there a better way to create the time zone in older Android versions?
Thanks
I need a iso date string. This should be
B4X:
DateTime.DateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
But this works only in newer Android versions. In older versions (e.g. 5.0, 6.0) it crashes (Unknown pattern character 'X').
I now replace 'XXX' with '+02:00' in the catch, but that seems a bit clumpsy...
Is there a better way to create the time zone in older Android versions?
Thanks