AnsweredAssumed Answered

What would be the easiest way to adjust time?

Question asked by Jeremy Sanchez on Mar 4, 2010
Latest reply on Mar 11, 2010 by Jeremy Sanchez

I am using MQX_time and RTC_time in order to manage time for my system.

I am retrieving the time from a time server and I must adjust that time for my time zone, for which I must substract a few hours from the time retrieved.

I have seen _time_add function but that function is working with tick_time, thus I still looking for the ideal way of making this substraction.




Time =  5/February/2010  01:00 hrs

TimeZone = -0700

TimeAdjusted = 4/February/2010 18:00 hrs