I am trying to get the tick value of a date and time string. This is what I did.
The tick value I am getting is 1:06PM in UTC. I would like to get the value for 1:06PM in the device's timezone. I need it to schedule a service, for which I believe we should use the tick value of the device's timezone in StartServiceAt().
Can this be done?
B4X:
DateTime.DateFormat="dd MMMM yyyy"
DateTime.TimeFormat="H:mma"
Log(DateTime.DateTimeParse("19 May 2014","1:06PM"))
The tick value I am getting is 1:06PM in UTC. I would like to get the value for 1:06PM in the device's timezone. I need it to schedule a service, for which I believe we should use the tick value of the device's timezone in StartServiceAt().
Can this be done?