support for date type