FormatDateTime resulting in week of the year or day of the year RRS feed

  • Question

  • In Visual Studio 2008, i am trying to create a report/label textbox that generates a Week # of the year given the current date.

    I can calculate from the day of the year if necessary.

    normally i use

    FormatDateTime(Today(), DateFormat.ShortDate) to give June 30, 2012.  What would give the week # or day # of the year?

    Wednesday, May 30, 2012 4:40 PM