[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 409 lines (15 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PHPExcel_Shared_Date:: (12 methods):
setExcelCalendar()
getExcelCalendar()
ExcelToPHP()
ExcelToPHPObject()
PHPToExcel()
FormattedPHPToExcel()
isDateTime()
isDateTimeFormat()
isDateTimeFormatCode()
stringToExcel()
monthStringToNumber()
dayStringToNumber()
Class: PHPExcel_Shared_Date - X-Ref
PHPExcel_Shared_DatesetExcelCalendar($baseDate) X-Ref |
Set the Excel calendar (Windows 1900 or Mac 1904) param: integer $baseDate Excel base date (1900 or 1904) return: boolean Success or failure |
getExcelCalendar() X-Ref |
Return the Excel calendar (Windows 1900 or Mac 1904) return: integer Excel base date (1900 or 1904) |
ExcelToPHP($dateValue = 0, $adjustToTimezone = false, $timezone = null) X-Ref |
Convert a date from Excel to PHP param: integer $dateValue Excel date/time value param: boolean $adjustToTimezone Flag indicating whether $dateValue should be treated as param: string $timezone The timezone for finding the adjustment from UST return: integer PHP serialized date/time |
ExcelToPHPObject($dateValue = 0) X-Ref |
Convert a date from Excel to a PHP Date/Time object param: integer $dateValue Excel date/time value return: DateTime PHP date/time object |
PHPToExcel($dateValue = 0, $adjustToTimezone = false, $timezone = null) X-Ref |
Convert a date from PHP to Excel param: mixed $dateValue PHP serialized date/time or date object param: boolean $adjustToTimezone Flag indicating whether $dateValue should be treated as param: string $timezone The timezone for finding the adjustment from UST return: mixed Excel date/time value |
FormattedPHPToExcel($year, $month, $day, $hours = 0, $minutes = 0, $seconds = 0) X-Ref |
FormattedPHPToExcel param: integer $year param: integer $month param: integer $day param: integer $hours param: integer $minutes param: integer $seconds return: integer Excel date/time value |
isDateTime(PHPExcel_Cell $pCell) X-Ref |
Is a given cell a date/time? param: PHPExcel_Cell $pCell return: boolean |
isDateTimeFormat(PHPExcel_Style_NumberFormat $pFormat) X-Ref |
Is a given number format a date/time? param: PHPExcel_Style_NumberFormat $pFormat return: boolean |
isDateTimeFormatCode($pFormatCode = '') X-Ref |
Is a given number format code a date/time? param: string $pFormatCode return: boolean |
stringToExcel($dateValue = '') X-Ref |
Convert a date/time string to Excel time param: string $dateValue Examples: '2009-12-31', '2009-12-31 15:59', '2009-12-31 15:59:10' return: float|FALSE Excel date/time serial value |
monthStringToNumber($month) X-Ref |
Converts a month name (either a long or a short name) to a month number param: string $month Month name or abbreviation return: integer|string Month number (1 - 12), or the original string argument if it isn't a valid month name |
dayStringToNumber($day) X-Ref |
Strips an ordinal froma numeric value param: string $day Day number with an ordinal return: integer|string The integer value with any ordinal stripped, or the original string argument if it isn't a valid numeric |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |