Different ways to implement date picker