add a conversion class for datetime and time stamps, since I need this all the time.