Download
Download Latest
Version Support Policy
Documentation
Documentation Home
Tutorial
Project
Governance
Branding
License
GitHub Repository
Community
Contribute to PHP
Online Communities
Events | Conferences
Mailing Lists
PHP 8.5
All Releases
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
日付・時刻 関数
PHP Manual
PHP Manual
»
Date/Time
»
日付・時刻 関数
日付・時刻 関数
目次
checkdate
— グレゴリオ暦の日付/時刻の妥当性を確認します
date
— Unixタイムスタンプを書式化する
date_add
— DateTime::add のエイリアス
date_create
— 新しい DateTime オブジェクトを作成する
date_create_from_format
— DateTime::createFromFormat のエイリアス
date_create_immutable
— 新しい DateTimeImmutable オブジェクトを作成する
date_create_immutable_from_format
— DateTimeImmutable::createFromFormat のエイリアス
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
— DateTimeImmutable::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
— 指定した日付/時刻の詳細な情報を連想配列で返す
date_parse_from_format
— 指定した書式でフォーマットされた日付についての情報を取得する
date_sub
— DateTime::sub のエイリアス
date_sun_info
— 日の出/日の入り時刻と薄明 (twilight) の開始/終了時刻の情報を含む配列を返す
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 のエイリアス
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
— 略称とUTCオフセットから、タイムゾーン名を推測して返す
timezone_name_get
— DateTimeZone::getName のエイリアス
timezone_offset_get
— DateTimeZone::getOffset のエイリアス
timezone_open
— DateTimeZone::__construct のエイリアス
timezone_transitions_get
— DateTimeZone::getTransitions のエイリアス
timezone_version_get
— timezonedb のバージョンを取得する
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open
Press
Enter
without selection to search using Google