? unixtojd
锟斤拷锟� ?
锟斤拷锟斤拷学院 www.cainiaoplay.com
PHP Manual
锟斤拷锟斤拷锟斤拷时锟斤拷锟斤拷锟斤拷锟秸�
锟斤拷锟节猴拷时锟斤拷
锟斤拷锟节猴拷时锟斤拷
锟斤拷锟�
锟斤拷装锟斤拷锟斤拷锟斤拷
锟斤拷锟斤拷
锟斤拷装
锟斤拷锟斤拷时锟斤拷锟斤拷
锟斤拷源锟斤拷锟斤拷
预锟斤拷锟藉常锟斤拷
锟斤拷锟斤拷
DateTime Arithmetic
DateTime
— DateTime 锟斤拷
DateTime::add
— 锟斤拷一锟斤拷 DateTime 锟斤拷锟斤拷锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷锟届,锟铰o拷锟疥,小时锟斤拷锟斤拷锟斤拷 锟皆硷拷锟诫。
DateTime::__construct
— 锟斤拷锟斤拷一锟斤拷锟铰碉拷 DateTime 锟斤拷锟斤拷
DateTime::createFromFormat
— 锟斤拷锟捷革拷锟斤拷锟侥革拷式锟斤拷锟斤拷锟斤拷锟斤拷时锟斤拷锟街凤拷锟斤拷
DateTime::getLastErrors
— 锟斤拷取锟斤拷锟斤拷痛锟斤拷锟斤拷锟较�
DateTime::modify
— 锟睫革拷锟斤拷锟斤拷时锟斤拷锟斤拷锟斤拷值
DateTime::__set_state
— __set_state 魔锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷
DateTime::setDate
— 锟斤拷锟斤拷 DateTime 锟斤拷锟斤拷锟斤拷锟斤拷锟�
DateTime::setISODate
— 锟斤拷锟斤拷 ISO 锟斤拷锟斤拷
DateTime::setTime
— 锟斤拷锟斤拷 DateTime 锟斤拷锟斤拷锟绞憋拷锟�
DateTime::setTimestamp
— 锟斤拷 Unix 时锟斤拷锟斤拷姆锟绞斤拷锟斤拷锟� DateTime 锟斤拷锟斤拷
DateTime::setTimezone
— 锟斤拷锟斤拷 DateTime 锟斤拷锟斤拷锟绞憋拷锟�
DateTime::sub
— 锟斤拷一锟斤拷 DateTime 锟斤拷锟斤拷锟饺ヒ伙拷锟斤拷锟斤拷锟� 锟秸★拷锟铰★拷锟疥、小时锟斤拷锟斤拷锟接猴拷锟诫。
DateTimeImmutable
— The DateTimeImmutable class
DateTimeImmutable::add
— Adds an amount of days, months, years, hours, minutes and seconds
DateTimeImmutable::__construct
— Returns new DateTimeImmutable object
DateTimeImmutable::createFromFormat
— Parses a time string according to a specified format
DateTimeImmutable::createFromMutable
— Returns new DateTimeImmutable object encapsulating the given DateTime object
DateTimeImmutable::getLastErrors
— Returns the warnings and errors
DateTimeImmutable::modify
— Creates a new object with modified timestamp
DateTimeImmutable::__set_state
— The __set_state handler
DateTimeImmutable::setDate
— Sets the date
DateTimeImmutable::setISODate
— Sets the ISO date
DateTimeImmutable::setTime
— Sets the time
DateTimeImmutable::setTimestamp
— Sets the date and time based on a Unix timestamp
DateTimeImmutable::setTimezone
— Sets the time zone
DateTimeImmutable::sub
— Subtracts an amount of days, months, years, hours, minutes and seconds
DateTimeInterface
— The DateTimeInterface interface
DateTime::diff
— Returns the difference between two DateTime objects
DateTime::format
— Returns date formatted according to given format
DateTime::getOffset
— Returns the timezone offset
DateTime::getTimestamp
— Gets the Unix timestamp
DateTime::getTimezone
— Return time zone relative to given DateTime
DateTime::__wakeup
— The __wakeup handler
DateTimeZone
— The DateTimeZone class
DateTimeZone::__construct
— 锟斤拷锟斤拷锟铰碉拷DateTimeZone锟斤拷锟斤拷
DateTimeZone::getLocation
— 锟斤拷锟斤拷锟斤拷时锟斤拷锟斤拷氐亩锟轿伙拷锟较拷锟�
DateTimeZone::getName
— 锟斤拷锟斤拷时锟斤拷锟斤拷锟狡★拷
DateTimeZone::getOffset
— 锟斤拷锟斤拷锟斤拷锟斤拷锟� GMT 锟斤拷时锟筋。
DateTimeZone::getTransitions
— Returns all transitions for the timezone
DateTimeZone::listAbbreviations
— 锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷 dst (锟斤拷锟斤拷时)锟斤拷时锟斤拷锟绞憋拷锟斤拷锟较拷墓锟斤拷锟斤拷锟斤拷椤�
DateTimeZone::listIdentifiers
— 锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷时锟斤拷锟斤拷示锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟介。
DateInterval
— DateInterval 锟斤拷
DateInterval::__construct
— Creates a new DateInterval object
DateInterval::createFromDateString
— Sets up a DateInterval from the relative parts of the string
DateInterval::format
— Formats the interval
DatePeriod
— DatePeriod 锟斤拷
DatePeriod::__construct
— Creates a new DatePeriod object
DatePeriod::getDateInterval
— Gets the interval
DatePeriod::getEndDate
— Gets the end date
DatePeriod::getRecurrences
— Gets the number of recurrences
DatePeriod::getStartDate
— Gets the start date
Date/Time 锟斤拷锟斤拷
checkdate
— 锟斤拷证一锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟�
date_add
— 锟斤拷锟斤拷 DateTime::add
date_create_from_format
— 锟斤拷锟斤拷 DateTime::createFromFormat
date_create_immutable_from_format
— 锟斤拷锟斤拷 DateTimeImmutable::createFromFormat
date_create_immutable
— 锟斤拷锟斤拷 DateTimeImmutable::__construct
date_create
— 锟斤拷锟斤拷 DateTime::__construct
date_date_set
— 锟斤拷锟斤拷 DateTime::setDate
date_default_timezone_get
— 取锟斤拷一锟斤拷锟脚憋拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷时锟戒函锟斤拷锟斤拷使锟矫碉拷默锟斤拷时锟斤拷
date_default_timezone_set
— 锟借定锟斤拷锟斤拷一锟斤拷锟脚憋拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷时锟戒函锟斤拷锟斤拷默锟斤拷时锟斤拷
date_diff
— 锟斤拷锟斤拷 DateTime::diff
date_format
— 锟斤拷锟斤拷 DateTime::format
date_get_last_errors
— 锟斤拷锟斤拷 DateTime::getLastErrors
date_interval_create_from_date_string
— 锟斤拷锟斤拷 DateInterval::createFromDateString
date_interval_format
— 锟斤拷锟斤拷 DateInterval::format
date_isodate_set
— 锟斤拷锟斤拷 DateTime::setISODate
date_modify
— 锟斤拷锟斤拷 DateTime::modify
date_offset_get
— 锟斤拷锟斤拷 DateTime::getOffset
date_parse_from_format
— Get info about given date formatted according to the specified format
date_parse
— Returns associative array with detailed info about given date
date_sub
— 锟斤拷锟斤拷 DateTime::sub
date_sun_info
— Returns an array with information about sunset/sunrise and twilight begin/end
date_sunrise
— 锟斤拷锟截革拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷氐锟斤拷锟秸筹拷时锟斤拷
date_sunset
— 锟斤拷锟截革拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷氐锟斤拷锟斤拷锟斤拷时锟斤拷
date_time_set
— 锟斤拷锟斤拷 DateTime::setTime
date_timestamp_get
— 锟斤拷锟斤拷 DateTime::getTimestamp
date_timestamp_set
— 锟斤拷锟斤拷 DateTime::setTimestamp
date_timezone_get
— 锟斤拷锟斤拷 DateTime::getTimezone
date_timezone_set
— 锟斤拷锟斤拷 DateTime::setTimezone
date
— 锟斤拷式锟斤拷一锟斤拷锟斤拷锟斤拷时锟戒/锟斤拷锟斤拷
getdate
— 取锟斤拷锟斤拷锟节o拷时锟斤拷锟斤拷息
gettimeofday
— 取锟矫碉拷前时锟斤拷
gmdate
— 锟斤拷式锟斤拷一锟斤拷 GMT/UTC 锟斤拷锟节o拷时锟斤拷
gmmktime
— 取锟斤拷 GMT 锟斤拷锟节碉拷 UNIX 时锟斤拷锟�
gmstrftime
— 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟矫革拷式锟斤拷 GMT/UTC 时锟戒/锟斤拷锟斤拷
idate
— 锟斤拷锟斤拷锟斤拷时锟斤拷锟斤拷锟节革拷式锟斤拷为锟斤拷锟斤拷
localtime
— 取锟矫憋拷锟斤拷时锟斤拷
microtime
— 锟斤拷锟截碉拷前 Unix 时锟斤拷锟斤拷锟轿拷锟斤拷锟�
mktime
— 取锟斤拷一锟斤拷锟斤拷锟节碉拷 Unix 时锟斤拷锟�
strftime
— 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟矫革拷式锟斤拷锟斤拷锟斤拷时锟戒/锟斤拷锟斤拷
strptime
— 锟斤拷锟斤拷锟斤拷 strftime 锟斤拷锟缴碉拷锟斤拷锟节o拷时锟斤拷
strtotime
— 锟斤拷锟轿猴拷锟街凤拷锟斤拷锟斤拷锟斤拷锟斤拷时锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷为 Unix 时锟斤拷锟�
time
— 锟斤拷锟截碉拷前锟斤拷 Unix 时锟斤拷锟�
timezone_abbreviations_list
— 锟斤拷锟斤拷 DateTimeZone::listAbbreviations
timezone_identifiers_list
— 锟斤拷锟斤拷 DateTimeZone::listIdentifiers
timezone_location_get
— 锟斤拷锟斤拷 DateTimeZone::getLocation
timezone_name_from_abbr
— Returns the timezone name from abbreviation
timezone_name_get
— 锟斤拷锟斤拷 DateTimeZone::getName
timezone_offset_get
— 锟斤拷锟斤拷 DateTimeZone::getOffset
timezone_open
— 锟斤拷锟斤拷 DateTimeZone::__construct
timezone_transitions_get
— 锟斤拷锟斤拷 DateTimeZone::getTransitions
timezone_version_get
— Gets the version of the timezonedb
Supported Date and Time Formats
Time Formats
Date Formats
Compound Formats
Relative Formats
锟斤拷支锟街碉拷时锟斤拷锟叫憋拷
锟斤拷锟斤拷
锟斤拷锟斤拷
锟较硷拷锟斤拷
锟斤拷锟斤拷
锟斤拷锟斤拷
锟斤拷锟斤拷锟斤拷
锟斤拷锟斤拷
欧锟斤拷
印锟斤拷
太平锟斤拷锟斤拷锟�
锟斤拷锟斤拷