I am using B4A 6.50 and suddenly, I am receiving A.M. and P.M. instead of simple AM and PM.
My simple code is:
and in Log i am getting:
10:41 p.m.
Hence my app is not parsing time like 05:00 pm. Is there any way to get AM/PM instead of A.M./P.M. ?
Note: My other android phones are working perfectly and showing "10:41 pm" but one smart phone is showing a.m. and p.m. And I want my app to work on that smart phone too.
My simple code is:
B4X:
DateTime.TimeFormat = "hh:mm a"
Log(DateTime.Time(DateTime.Now))
and in Log i am getting:
10:41 p.m.
Hence my app is not parsing time like 05:00 pm. Is there any way to get AM/PM instead of A.M./P.M. ?
Note: My other android phones are working perfectly and showing "10:41 pm" but one smart phone is showing a.m. and p.m. And I want my app to work on that smart phone too.