B4J Question [BANano] Bug in Datetimeparse

sdleidel

Active Member
Licensed User
Longtime User
Problem with the 'T'...


1:
DateTime.DateFormat="yyyy-MM-dd'T'HH:mm:ss"
Log("LongDateTime:"&DateTime.DateParse("2023-08-10T07:30:00"))

Workaround for the moment, as sample:
2:
DateTime.DateFormat="yyyy-MM-dd'z'HH:mm:ss"
DIM Teststring as string ="2023-08-10T07:30:00"
Log("LongDateTime:"&DateTime.DateParse(Teststring.replace("T","z")))
 
Top