I wonder why, when the following code is run on a Windows PC it returns the LOCAL time and when the same code is run on a LINUX machine, it returns UTC time. Is there any way to resolve this inconsistency? I understand that DateTime.Now is supposed to return the UTC time but on a PC it returns the Local time.
B4X:
' Calculate Time Stamps
hrmin=(DateTime.GetHour(DateTime.Now)) * 100 + DateTime.GetMinute(DateTime.Now)
moday=(DateTime.GetMonth(DateTime.Now)) * 100 + DateTime.GetDayOfMonth(DateTime.Now)