How do u get the week number for a given date?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hii,

i have data thatz being collected daily. But in the front end i need to
represent the same based on the week number.

if there is a way of doin the same plz let me knw.

Thanks
Venu
 
VenuGopal said:
hii,

i have data thatz being collected daily. But in the front end i need to
represent the same based on the week number.

if there is a way of doin the same plz let me knw.

Thanks
Venu

A .NET DateTime object has a DayOfYear property. Use division and modulus
division to determine the week it falls in.
 
Back
Top