public static function PHPExcel_Shared_Date::setExcelCalendar in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/Date.php \PHPExcel_Shared_Date::setExcelCalendar()
* Set the Excel calendar (Windows 1900 or Mac 1904) * *
Parameters
integer $baseDate Excel base date (1900 or 1904): * @return boolean Success or failure
4 calls to PHPExcel_Shared_Date::setExcelCalendar()
- DateTimeTest::testDATEwith1904Calendar in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Calculation/ DateTimeTest.php - DateTimeTest::testDATEwith1904CalendarError in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Calculation/ DateTimeTest.php - PHPExcel_Reader_Excel2007::load in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2007.php - * Loads PHPExcel from file * *
- PHPExcel_Reader_Excel5::_readDateMode in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel5.php - * DATEMODE * * This record specifies the base date for displaying date * values. All dates are stored as count of days past this * base date. In BIFF2-BIFF4 this record is part of the * Calculation Settings Block. In BIFF5-BIFF8 it is *…
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ Date.php, line 91
Class
- PHPExcel_Shared_Date
- PHPExcel_Shared_Date
Code
public static function setExcelCalendar($baseDate) {
if ($baseDate == self::CALENDAR_WINDOWS_1900 || $baseDate == self::CALENDAR_MAC_1904) {
self::$_excelBaseDate = $baseDate;
return TRUE;
}
return FALSE;
}