add autoNow for datepicker
updates from sanmiks project