If talking about Time and Date, please take a look at
There are some other really good tutorials for Type conversion. Maybe also interesting: