Hi,
I use the time.h from Code Composer Studio. Using UTC it worked fine for converting a timestamp to struct tm and back.
For a actual project localtime() should include daylight saving for the local timezone.
I've tried with _tz from time.h without success
_tz.daylight = 1;
_tz.timezone = 3600;
_tz.dstname[0] = 'C';
_tz.dstname[1] = 'E';
_tz.dstname[2] = 'T';
_tz.dstname[3] = 0;
_tz.tzname[0] = 'C';
_tz.tzname[1] = 'E';
_tz.tzname[2] = 'T';
_tz.tzname[3] = 0;
Where can I find Information how to use dstname[] fom CCS time module ? How can I use localtime() with daylight saving time on my MSP430 ? Thanks !
Regards,
Martin