Skip to content

cDateISO::NOW()

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

Method NOW( )

 public   integer libdatephp\cDate::NOW()

NOW() returns the ISO number of the week in the year the date belongs to. Same as WOY()

Example:

use libdatephp;

$dt = new cDate( 11, 23, 2016 );

echo $dt->NOW( );

Returns

integer the number of he week in the year

See also

Clone this wiki locally