updated the datepicker to fetch server time via php call in view