Skip to content

cDateISO::BOQ()

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

Method BOQ( )

 public   \libdatephp\cDate libdatephp\cDate::BOQ()

BOQ() aka "bottom of quarter" returns the cDate value of the day which is the first day of the quarter the managed date is in

Example:

use libdatephp;

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

echo $dt->BOQ( )->AsSQL( );

Returns

\libdatephp\cDate the first day of the quarter of the managed date

See also

Clone this wiki locally