This is using a different RTC but it has DEC vars.
http://www.picbasic.co.uk/forum/cont...USB-SD-LOGGING