Automatically format DateTime

Automatically format DateTime in constructor and getters/setters