fixed datetime class, fields