-6

I can' t save this leap date '02/29/2006' to sql server database. I'm using C#. Is there any particular code for this? Your help will be very much appreciated. Thanks

2 Answers2

3

Maybe it's because it's not a leap year? :)

2006 is not a leap year. Leap years occur usually every four years (those years whose number is divisible by four) except for century years (divisible by 100) whose number is not divisible by 400. 2006 is not divisible by 4, so it fails the first condition.

Pablo
  • 3,004
  • 1
  • 12
  • 19
1

You Cant save it - Because it wasnt a leap year:

enter image description here

Prateek Shrivastava
  • 1,877
  • 1
  • 10
  • 17