Date time client side validation