|
dzirkelb1 -> How to find the day of the year (6/18/2009 9:07:06)
|
I am looking to find the day of the year, like 2/1/2009 would return 32. I am trying to do a date diff to figure this out, but am not coming up with reasonable results...here is what I have: intDayOfYear = DateDiff("d", 12/31/2009, Date()) and it is returning 39982, which obviously isnt' correct for what I am looking for. Can someone help me fix this or offer an easier way to figure out what day of the year today's date is?
|
|
|
|