CalendarTimeManager::firstDayOfQuarter
Returns the timestamp for first day of thequarter for the given date.
NOTE: Computes the quarter as: <code> $quarter = ceil(date('m', $ts) / 3); // 1 - 4 </code>
Signature
public function firstDayOfQuarter([
$ts = NULL] )
Parameters
$ts
—
Returns
- timestamp