Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
OpenSpout\Reader\XLSX\Helper\DateFormatHelper Class Reference

Static Public Member Functions

static toPHPDateFormat (string $excelDateFormat)
 Converts the given Excel date format to a format understandable by the PHP date function.
 

Public Attributes

const KEY_GENERAL = 'general'
 
const KEY_HOUR_12 = '12h'
 
const KEY_HOUR_24 = '24h'
 

Member Function Documentation

◆ toPHPDateFormat()

static OpenSpout\Reader\XLSX\Helper\DateFormatHelper::toPHPDateFormat ( string $excelDateFormat)
static

Converts the given Excel date format to a format understandable by the PHP date function.

Parameters
string$excelDateFormatExcel date format
Return values
stringPHP date format (as defined here: http://php.net/manual/en/function.date.php)

The documentation for this class was generated from the following file: