Added some methods for date/datetime binding