The date is given in 16-bit modbus register as follows:
Bits 0 - 2 Day of Week (Sun = 0, Mon = 1, .... Sat = 6)
Bits 3 - 6 Month of Year (1 - 12)
Bits 7 - 9 Week of Month (1 - 4)
If I put this date in tm struct format and call mktime(). Will mktime() return
date in unix format ?
Another words, if I construct tm struct with only Day of Week, Month of Year, and Week of Month, and call mktime(), will I get date in unix format ?