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);
Loading
VulpesPosted Nov 15, 2011, 4:43 AM
Jean PaulPosted Nov 15, 2011, 4:37 AM
Depending on clients of different locations we can change the format. For eg: India and US customer will be having different date time formats.
In the case of desktop applications the default format shows according to the Regional Settings of the computer.