you are welcome. and also take note that when working with dates and datepicker, you need to make sure that the datatype in the dbase is also date. Don't make it the datatype "text" otherwise you will encounter a problem in the future.