Method Week
Week(DateTime)
Returns the week number of a specified DateTime value.
public static int Week(this DateTime @this)
Parameters
this
DateTimeThe DateTime value.
Returns
- int
The week number of a specified DateTime value.
Week(DateTime, string)
Returns the week number of a specified DateTime value.
public static int Week(this DateTime @this, string timezone)
Parameters
Returns
- int
The week number of a specified DateTime value.