Skip to content

cDateISO::GoWOY()

Rainer Stötter edited this page May 9, 2017 · 1 revision

Method GoWOY( )

 public   mixed libdatephp\cDateISO::GoWOY(integer $woy, integer $year, integer $dow)

GoWOY( ) sets the internal date to the date, which is defined by the ISO week $woy, the year $year and the ISO weekday $dow.

Example:

Arguments

  • $woy integer - <p>the ISO week number for the week in the year</p>
  • $year integer - <p>the year to use. If it is null, then the year part of the internal date will be used. Defaults to null.</p>
  • $dow integer - <p>the ISO day of week number for the weekday to position the date on. If it is null, then the ISO_MONDAY will be used. Defaults to null.</p>

See also

Clone this wiki locally