working on date picker manipulation