-
Notifications
You must be signed in to change notification settings - Fork 0
cDateISO::WeeksInYear()
Rainer Stötter edited this page May 9, 2017
·
1 revision
public mixed libdatephp\cDateISO::WeeksInYear()
- Namespace : libdatephp
- Class name: cDateISO
- This method is defined by libdatephp\cDateISO
WeeksInYear() returns the number of weeks in the actual year
week numbers start with 1. The first week in the year has the number 1
Example:
$dt = new \libdatephp\cDate( 1, 1, 2017 ); assert( $dt->WeeksInYear( ) == 52 );
This wiki page is part of the documentation of the PHP class library libdatephp