文章詳情頁
PHP擴展之日期和時間相關(guān)函數(shù)大全
瀏覽:4日期:2022-09-15 16:30:33
checkdate?— 驗證一個格里高里日期date_add?— 別名 DateTime::adddate_create_from_format?— 別名 DateTime::createFromFormatdate_create_immutable_from_format?— 別名 DateTimeImmutable::createFromFormatdate_create_immutable?— 別名 DateTimeImmutable::__constructdate_create?— 別名 DateTime::__constructdate_date_set?— 別名 DateTime::setDatedate_default_timezone_get?— 取得一個腳本中所有日期時間函數(shù)所使用的默認(rèn)時區(qū)date_default_timezone_set?— 設(shè)定用于一個腳本中所有日期時間函數(shù)的默認(rèn)時區(qū)date_diff?— 別名 DateTime::diffdate_format?— 別名 DateTime::formatdate_get_last_errors?— 別名 DateTime::getLastErrorsdate_interval_create_from_date_string?— 別名 DateInterval::createFromDateStringdate_interval_format?— 別名 DateInterval::formatdate_isodate_set?— 別名 DateTime::setISODatedate_modify?— 別名 DateTime::modifydate_offset_get?— 別名 DateTime::getOffsetdate_parse_from_format?— Get info about given date formatted according to the specified formatdate_parse?— Returns associative array with detailed info about given datedate_sub?— 別名 DateTime::subdate_sun_info?— Returns an array with information about sunset/sunrise and twilight begin/enddate_sunrise?— 返回給定的日期與地點的日出時間date_sunset?— 返回給定的日期與地點的日落時間date_time_set?— 別名 DateTime::setTimedate_timestamp_get?— 別名 DateTime::getTimestampdate_timestamp_set?— 別名 DateTime::setTimestampdate_timezone_get?— 別名 DateTime::getTimezonedate_timezone_set?— 別名 DateTime::setTimezonedate?— 格式化一個本地時間/日期getdate?— 取得日期/時間信息gettimeofday?— 取得當(dāng)前時間gmdate?— 格式化一個 GMT/UTC 日期/時間gmmktime?— 取得 GMT 日期的 UNIX 時間戳gmstrftime?— 根據(jù)區(qū)域設(shè)置格式化 GMT/UTC 時間/日期idate?— 將本地時間日期格式化為整數(shù)localtime?— 取得本地時間microtime?— 返回當(dāng)前 Unix 時間戳和微秒數(shù)mktime?— 取得一個日期的 Unix 時間戳strftime?— 根據(jù)區(qū)域設(shè)置格式化本地時間/日期strptime?— 解析由 strftime 生成的日期/時間strtotime?— 將任何英文文本的日期時間描述解析為 Unix 時間戳time?— 返回當(dāng)前的 Unix 時間戳timezone_abbreviations_list?— 別名 DateTimeZone::listAbbreviationstimezone_identifiers_list?— 別名 DateTimeZone::listIdentifierstimezone_location_get?— 別名 DateTimeZone::getLocationtimezone_name_from_abbr?— Returns the timezone name from abbreviationtimezone_name_get?— 別名 DateTimeZone::getNametimezone_offset_get?— 別名 DateTimeZone::getOffsettimezone_open?— 別名 DateTimeZone::__constructtimezone_transitions_get?— 別名 DateTimeZone::getTransitionstimezone_version_get?— Gets the version of the timezonedb
標(biāo)簽:
PHP
相關(guān)文章:
1. ASP實現(xiàn)加法驗證碼2. ASP 信息提示函數(shù)并作返回或者轉(zhuǎn)向3. 將properties文件的配置設(shè)置為整個Web應(yīng)用的全局變量實現(xiàn)方法4. asp(vbs)Rs.Open和Conn.Execute的詳解和區(qū)別及&H0001的說明5. CSS hack用法案例詳解6. ASP.NET MVC遍歷驗證ModelState的錯誤信息7. asp中response.write("中文")或者js中文亂碼問題8. PHP設(shè)計模式中工廠模式深入詳解9. jsp網(wǎng)頁實現(xiàn)貪吃蛇小游戲10. 用css截取字符的幾種方法詳解(css排版隱藏溢出文本)
排行榜
