-
Notifications
You must be signed in to change notification settings - Fork 0
cDate::WOM()
Rainer Stötter edited this page May 9, 2017
·
10 revisions
public integer libdatephp\cDate::WOM()
- Namespace : libdatephp
- Class name: cDate
- This method is defined by libdatephp\cDate
WOM() returns the one-based number of the week in the month the date belongs to.
Example:
$dt = new \libdatephp\cDate( 1, 1, 2017 );
assert( $dt->WOM( ) == 1 );
echo "\n wom = " . $dt->WOM();
$dt->GoWOM( 5 );
assert( $dt->WOM( ) == 5 );
integer the number of he week in the month
This wiki page is part of the documentation of the PHP class library libdatephp