Fixed wrong DateTime object definition
Merge pull request #97 from Nek-/fix/wrong-date-management

Fixed wrong DateTime object definition