Skip to content

cDateISO::FirstMondayOfJanuary()

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

Method FirstMondayOfJanuary( )

 public   \libdatephp\cDateISO libdatephp\cDateISO::FirstMondayOfJanuary(integer $year)

FirstMondayOfJanuary( ) returns the date to the first monday of the year $year

The first week of the year does not start on the 1-st January but on the first monday.

Arguments

  • $year integer - <p>the year $year</p>

Returns

\libdatephp\cDateISO the date of the first monday of the Year $year

Clone this wiki locally