2
Answers

Why is this date format used and where can it be used?

Nethra R S

Nethra R S

13y
1.7k
1
                DateTime date1 = new DateTime(YY, MM, DD);
                DateTime date2 = new DateTime(YY, 4, 1);
                DateTime date3 = new DateTime(YY, 12, 31);
                DateTime date4 = new DateTime(YY, 3, 31);
                DateTime date5 = new DateTime(YY - 1, MM, DD);
                DateTime date6 = new DateTime(YY + 1, MM, DD);
                DateTime date7 = new DateTime(YY, 1, 1);
Answers (2)