You are here

public static function PHPExcel_Shared_Date::isDateTime in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/Date.php \PHPExcel_Shared_Date::isDateTime()

* Is a given cell a date/time? * *

Parameters

PHPExcel_Cell $pCell: * @return boolean

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/Date.php, line 254

Class

PHPExcel_Shared_Date
PHPExcel_Shared_Date

Code

public static function isDateTime(PHPExcel_Cell $pCell) {
  return self::isDateTimeFormat($pCell
    ->getWorksheet()
    ->getStyle($pCell
    ->getCoordinate())
    ->getNumberFormat());
}