Fixed wrong DateTime object definition