ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v6:reference:adodatetimedefinitions

ADOdb\time\ADODateTimeDefinitions

Introduction

All of the globals and constants associated with the ADOdb date class are encapsulated in the ADODateTimeDefinitions class. The class contains reasonable default values.

Definition

/**
* Defines the attributes passed to the datetime interface
*/
final class ADODateTimeDefinitions
{
    /*
    * Sane Default Options
    */
 
    /* 
    * What to display when the passed time is 0
    */
    public ?string $emptyTimeStamp = null;
 
    /*
    * The ADODB_DATE_LOCALE option
    */
    public ?string $dateLocale = null;
 
    /*
    * The ADODB_FUTURE_DATE_CUTOFF_YEARS option
   */
    public int $futureDateCutoffYears   = 200;
 
    /*
    * The ADODB_NO_NEGATIVE_TS option
    */
    public int $noNegativeTimestamps = 1;
 
    /*
    * The first year number for ADOdb time functions
    */
   public int $timestampFirstYear = 100;
 
}
v6/reference/adodatetimedefinitions.txt · Last modified: by 127.0.0.1