Added support for datetime selecter