Pedro,

everything you ever wanted to know about date/time conversions (and even more) can be found Here