? unixtojd
��� ?
����ѧԺ www.cainiaoplay.com
PHP Manual
������ʱ�������չ
���ں�ʱ��
���ں�ʱ��
���
��װ������
����
��װ
����ʱ����
��Դ����
Ԥ���峣��
����
DateTime Arithmetic
DateTime
— DateTime ��
DateTime::add
— ��һ�� DateTime ��������һ�������죬�£��꣬Сʱ������ �Լ��롣
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
— ȡ�����ڣ�ʱ����Ϣ
gettimeofday
— ȡ�õ�ǰʱ��
gmdate
— ��ʽ��һ�� GMT/UTC ���ڣ�ʱ��
gmmktime
— ȡ�� GMT ���ڵ� UNIX ʱ���
gmstrftime
— �����������ø�ʽ�� GMT/UTC ʱ�䣯����
idate
— ������ʱ�����ڸ�ʽ��Ϊ����
localtime
— ȡ�ñ���ʱ��
microtime
— ���ص�ǰ Unix ʱ���������
mktime
— ȡ��һ�����ڵ� Unix ʱ���
strftime
— �����������ø�ʽ������ʱ�䣯����
strptime
— ������ strftime ���ɵ����ڣ�ʱ��
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
��֧�ֵ�ʱ���б�
����
����
�ϼ���
����
����
������
����
ŷ��
ӡ��
̫ƽ�����
����