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
\long
Excel date/time value
boolean
Flag indicating whether $dateValue should be treated as a UST timestamp, or adjusted to UST
string
The timezone for finding the adjustment from UST
\long
PHP serialized date/timeExcelToPHPObject(integer $dateValue) : integer
integer
Excel date/time value
integer
PHP date/time objectFormattedPHPToExcel(\long $year, \long $month, \long $day, \long $hours, \long $minutes, \long $seconds) : \long
\long
\long
\long
\long
\long
\long
\long
Excel date/time valuePHPToExcel(mixed $dateValue, boolean $adjustToTimezone, string $timezone) : mixed
mixed
PHP serialized date/time or date object
boolean
Flag indicating whether $dateValue should be treated as a UST timestamp, or adjusted to UST
string
The timezone for finding the adjustment from UST
mixed
Excel date/time value
or boolean FALSE on failuredayStringToNumber($day)
getExcelCalendar() : integer
integer
Excel base date (1900 or 1904)isDateTime(\PHPExcel_Cell $pCell) : boolean
isDateTimeFormat(\PHPExcel_Style_NumberFormat $pFormat) : boolean
isDateTimeFormatCode(string $pFormatCode) : boolean
string
boolean
monthStringToNumber($month)
setExcelCalendar(integer $baseDate) : boolean
integer
Excel base date (1900 or 1904)
boolean
Success or failurestringToExcel(string $dateValue) : float | FALSE
string
Examples: '2009-12-31', '2009-12-31 15:59', '2009-12-31 15:59:10'
float
FALSE
Excel date/time serial value$_monthNames
$_numberSuffixes
$_excelBaseDate
$possibleDateFormatCharacters
CALENDAR_MAC_1904
CALENDAR_WINDOWS_1900