I need a fiscal year based on the current or today's datetime.
Suppose if we think that date is date 10 April 2011, then I need outputs like Financial Year 2012, and in some cases I need to display the same result in short format as FY12. Both ways I want to display.
In our request, a fiscal year counts from April(current year) to March(next year).
Based on the current time and time, the output script depends on the current time and time, which should be below the specified period or duration.
From 01April2011 to 31March2012 - Financial Year 2012 or FY2012
From 01April2012 to 31March2013 - Financial Year 2013 or FY2013
From 01April2013 to 31March2014 - Financial Year 2014 or FY2014
.
.
.
etc....
Another example: if we accept today datetime as 16April2012, then the output is needed as Financial Year 2013, as well FY13.
, , , LINQ Regex #,.Net3.5