distinct now accepts date value