[Core] Manage date with datetime (fixes #8).
[Core] Use object (fixes #9).