Added date and datetime
Added callback functions
Fixed date bug