Hi all, I'm trying to make get out of a 5 byte interval number (counts seconds since 1/1/1970 12.00 AM) the year, date, month, hours, minutes, etc. So, I figured that I can start subtracting 60 seconds to count minutes elapsed, then the reminder are the current seconds, to the number of minutes, I can subtract 60 minutes to get the elapsed hours and so on and on, but, how can I make this 32-bit subtraction in C (I'm using C2C compiler) Thanks! Mauricio Jancic Janso Desarrollos (54) 11 - 4544 - 5613 (54) 11 - 4542 - 3519 Republica Argentina -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads