Date support

Added support for date widget.