add datetime/date/time types

I implemented three custom types that I think maybe useful for someone else.