Date picker functioning.
Date and Time picker