Datetime functionality works, needs tests