Added function to set entire date setDate()