Class CMS_date
Manages a date representation. Such instances can be fed with DB dates (MySQL for now), or with its elements separately (month, day, year, ...), or with a date expressed with its format. The format permits to return or set the date in the preferred user format. The stereotype formats are the same that the date() function, and typically are : "m/d/Y" for english dates "d/m/Y" for french dates
Located in /automne/classes/common/date.php (line 32)
CMS_grandFather | --CMS_date
Compares two dates using the given operator.
Static function.
Gets the Week day (0 to 6 value : 0 for sunday, 6 for saturday)
Fills a DB datetime field
Get the formatted date
move a CMS_date to a given value
Sets the day part of the date
Sets the date localized version format
Initialize the date with a value picked from a MySQL datetime field : yyyy-mm-dd hh:mm:ss
Sets the hour part of the date
Sets the value from a formatted date
Sets the minute part of the date
Sets the month part of the date
Sets the date to now
Sets the seconds part of the date
Sets the year part of the date
Left-fills a string with zeros
Inherited From CMS_grandFather
CMS_grandFather::autoload()
CMS_grandFather::hasError()
CMS_grandFather::log()
CMS_grandFather::PHPErrorHandler()
CMS_grandFather::raiseError()
CMS_grandFather::setDebug()
CMS_grandFather::setLog()
CMS_grandFather::_raiseError()
CMS_grandFather::__call()
Inherited from CMS_grandFather
CMS_grandFather::ERROR_LOG
CMS_grandFather::SYSTEM_LABEL
Documentation generated on Wed, 15 Feb 2012 15:29:49 +0100 by phpDocumentor 1.4.3