Database: added support DateTimeImmutable & DateTimeInterface [Closes #1216]