Today is 5.27.2010 - this means it is day 147 of this year.
5.27.2010
How do I calculate that today is 147 based on the current date?
C#'s DateTime class has a method called DayOfYear() that you could use.
DateTime
DayOfYear()