# | Line 57 | Line 57 | uint32 TimerDateTime(void) | |
---|---|---|
57 | time_t utc_now = time(NULL); | |
58 | #if defined(__linux__) || defined(__SVR4) | |
59 | long tz = timezone; | |
60 | < | time_t local_now = uct_now - tz; |
60 | > | time_t local_now = utc_now - tz; |
61 | if (daylight) | |
62 | local_now += 3600; | |
63 | #elif defined(__FreeBSD__) || defined(__NetBSD__) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |