PHPExcel_Shared_Date
| category | PHPExcel |
|---|---|
| package | PHPExcel_Shared |
| copyright | Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) |
ExcelToPHP(\long $dateValue, boolean $adjustToTimezone, string $timezone) : \long
\longExcel date/time value
booleanFlag indicating whether $dateValue should be treated as a UST timestamp, or adjusted to UST
stringThe timezone for finding the adjustment from UST
\longPHP serialized date/timeExcelToPHPObject(integer $dateValue) : integer
integerExcel date/time value
integerPHP date/time objectFormattedPHPToExcel(\long $year, \long $month, \long $day, \long $hours, \long $minutes, \long $seconds) : \long
\long
\long
\long
\long
\long
\long
\longExcel date/time valuePHPToExcel(mixed $dateValue, boolean $adjustToTimezone, string $timezone) : mixed
mixedPHP serialized date/time or date object
booleanFlag indicating whether $dateValue should be treated as a UST timestamp, or adjusted to UST
stringThe timezone for finding the adjustment from UST
mixedExcel date/time value
or boolean FALSE on failuredayStringToNumber($day)
getExcelCalendar() : integer
integerExcel base date (1900 or 1904)isDateTime(\PHPExcel_Cell $pCell) : boolean
isDateTimeFormat(\PHPExcel_Style_NumberFormat $pFormat) : boolean
isDateTimeFormatCode(string $pFormatCode) : boolean
string
booleanmonthStringToNumber($month)
setExcelCalendar(integer $baseDate) : boolean
integerExcel base date (1900 or 1904)
booleanSuccess or failurestringToExcel(string $dateValue) : float | FALSE
stringExamples: '2009-12-31', '2009-12-31 15:59', '2009-12-31 15:59:10'
floatFALSEExcel date/time serial value$_monthNames
$_numberSuffixes
$_excelBaseDate
$possibleDateFormatCharacters
CALENDAR_MAC_1904
CALENDAR_WINDOWS_1900