/** * Return the first day of the month into which the passed date falls. * * @param string $date Any valid date string * @param string $timeZone * @return string */ public static function firstDayOfMonth($date, $timeZone = null) { return substr(uDateTime::firstDayOfMonth($date, $timeZone), 0, 10); }