Added the possiblity to set rtc_offset

Signed-off-by: Christian Ege <k4230r6@gmail.com>
Adjust RTC offset and fixed number conversion bug

Time is unsigned int 32 not int 32.

Signed-off-by: Christian Ege <k4230r6@gmail.com>