I use the following to get the start of a year period, it might be a fiscal or calandar year.Date.Parse(dtrSurveyData.Item("EndDate1").ToString()).AddDays(-364)
I'm just setting a label to this date.
If the user enters 12/31/2008 as the enddate1 it shows as 1/2/2008, because it was a leep year.
I cannot just use the "1/1/" becuase they might be entering 7/1/2009 as the end of the fiscal year period.
Any suggestions on how to handle the leep year?
View Complete Post