modified date picker methods