esakkirajak Commented 1 Years ago through
Just Learned | 1 Point
Hi Niladri,
Can you try with current date time as following it gives me unexpected results set.
DateTime dt = DateTime.Parse("12-12-2012");
var currentQuarter = dt.Month/ 4 + 1;
For Year 2012 this is Quarter # 4
For Year 2012 this i...