Results of 1 - 10 of about 56 for 日時 (0.002 sec.)
- ファイルに関する情報を取得する 10623
- « set_file_buffer symlink » PHP Manual ファイルシステム 関数 ファイルに関する情報を取得する 検索 stat (PHP 4, PHP 5, PHP 7, PHP 8) stat — ファイルに関する情報を取得する 説明 function stat ( string $filename ): array | false filename で指定さ
... でした。 例 例1 stat() の例 <?php /* ファイルの状態を取得します */ $stat = stat ( 'C:\php\php.exe' ); /* * ファイルのアクセス日時を表示します。 * これは fileatime() をコールするのと同じです */ echo 'アクセス日時: ' . $stat [ 'atime' ]; /* * ファイルの更 ... 新日時を表示します。 * これは filemtime() をコールするのと同じです */ echo '更新日時: ' . $stat [ 'mtime' ]; /* デバイス番号を表示 ... hp\php.exe' ); /* 情報の取得に失敗した? */ if (! $stat ) { echo 'stat() のコールに失敗しました...' ; } else { /* * アクセス日時を、現在のアクセス日時の * 一週間後に設定します */ $atime = $stat [ 'atime' ] + 604800 ; /* ファイルを作成します */ if (! to ...
-
https://man.mtool.work/php/8.3/function.stat.html
- ファイルに関する情報を取得する 10623
- « set_file_buffer symlink » PHP Manual ファイルシステム 関数 ファイルに関する情報を取得する 検索 stat (PHP 4, PHP 5, PHP 7, PHP 8) stat — ファイルに関する情報を取得する 説明 function stat ( string $filename ): array | false filename で指定さ
... でした。 例 例1 stat() の例 <?php /* ファイルの状態を取得します */ $stat = stat ( 'C:\php\php.exe' ); /* * ファイルのアクセス日時を表示します。 * これは fileatime() をコールするのと同じです */ echo 'アクセス日時: ' . $stat [ 'atime' ]; /* * ファイルの更 ... 新日時を表示します。 * これは filemtime() をコールするのと同じです */ echo '更新日時: ' . $stat [ 'mtime' ]; /* デバイス番号を表示 ... hp\php.exe' ); /* 情報の取得に失敗した? */ if (! $stat ) { echo 'stat() のコールに失敗しました...' ; } else { /* * アクセス日時を、現在のアクセス日時の * 一週間後に設定します */ $atime = $stat [ 'atime' ] + 604800 ; /* ファイルを作成します */ if (! to ...
-
https://man.mtool.work/php/8.3/function.stat.html
- 年月日時分秒の値を加えることで、DateTime オブジェクトを変更する 10196
- « DateTime DateTime::__construct » PHP Manual DateTime 年月日時分秒の値を加えることで、DateTime オブジェクトを変更する 検索 DateTime::add date_add (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateTime::add -- date_add — 年月日時分秒の値を加えることで、Da
... オブジェクト 戻り値 メソッドチェインに使う、変更された DateTime オブジェクトを返します。 参考 DateTimeImmutable::add() - 年月日時分秒の値を加え、新しいオブジェクトを返す 関連キーワード: DateTime 年月日 分秒 date DateInterval interval 手続き DateTimeImmu ...
-
https://man.mtool.work/php/8.3/datetime.add.html
- 年月日時分秒の値を加えることで、DateTime オブジェクトを変更する 10048
- « DateTime DateTime::__construct » PHP Manual DateTime 年月日時分秒の値を加えることで、DateTime オブジェクトを変更する 検索 DateTime::add date_add (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateTime::add -- date_add — 年月日時分秒の値を加えることで、Da
... オブジェクト 戻り値 メソッドチェインに使う、変更された DateTime オブジェクトを返します。 参考 DateTimeImmutable::add() - 年月日時分秒の値を加え、新しいオブジェクトを返す 関連キーワード: DateTime オブジェクト add 年月日 分秒 date DateInterval interval 手 ...
-
https://man.mtool.work/php/8.3/datetime.add.html
- 新しい DateTimeImmutable オブジェクトを返す 9754
- « DateTimeImmutable::add DateTimeImmutable::createFromFormat » PHP Manual DateTimeImmutable 新しい DateTimeImmutable オブジェクトを返す 検索 DateTimeImmutable::__construct date_create_immutable (PHP 5 >= 5.5.0, PHP 7, PHP 8) DateTimeImmutab
... able::__construct() の複雑な例 <?php date_default_timezone_set ( 'America/Jamaica' ); // PHP のデフォルトのタイムゾーンでの日時の指定 $date = new DateTimeImmutable ( '2000-01-01' ); echo $date -> format ( 'Y-m-d H:i:sP' ) . "\n" ; // 指定したタイムゾー ... ンでの日時の指定 $date = new DateTimeImmutable ( '2000-01-01' , new DateTimeZone ( 'Pacific/Nauru' )); echo $date -> format ( 'Y-m-d H ... :i:sP' ) . "\n" ; // PHP のデフォルトのタイムゾーンでの現在日時 $date = new DateTimeImmutable (); echo $date -> format ( 'Y-m-d H:i:sP' ) . "\n" ; // 指定したタイムゾーンでの現在日時 $da ...
-
https://man.mtool.work/php/8.3/datetimeimmutable.construct.html
- 年月日時分秒の値を DateTime オブジェクトから引く 9474
- « DateTime::setTimezone DateTimeImmutable » PHP Manual DateTime 年月日時分秒の値を DateTime オブジェクトから引く 検索 DateTime::sub date_sub (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateTime::sub -- date_sub — 年月日時分秒の値を DateTime オブジェクト
... dOperationException がスローされるようになりました。 date_sub() は変更されていません。 参考 DateTimeImmutable::sub() - 年月日時分秒の値を引く 関連キーワード: DateTime オブジェクト sub date DateInterval 年月日 分秒 DateTimeImmutable interval 手続き サポ ...
-
https://man.mtool.work/php/8.3/datetime.sub.html
- DateTime::sub のエイリアス 9474
- « date_parse_from_format date_sun_info » PHP Manual 日付・時刻 関数 DateTime::sub のエイリアス 検索 date_sub (PHP 5 >= 5.3.0, PHP 7, PHP 8) date_sub — DateTime::sub() のエイリアス 説明 この関数は次の関数のエイリアスです。 DateTime::sub() 参
... 考 DateTimeImmutable::sub() - 年月日時分秒の値を引く DateTime::sub() - 年月日時分秒の値を DateTime オブジェクトから引く 関連キーワード: sub DateTime エイリアス da ...
-
https://man.mtool.work/php/8.3/function.date-sub.html
- 年月日時分秒の値を DateTime オブジェクトから引く 9474
- « DateTime::setTimezone DateTimeImmutable » PHP Manual DateTime 年月日時分秒の値を DateTime オブジェクトから引く 検索 DateTime::sub date_sub (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateTime::sub -- date_sub — 年月日時分秒の値を DateTime オブジェクト
... dOperationException がスローされるようになりました。 date_sub() は変更されていません。 参考 DateTimeImmutable::sub() - 年月日時分秒の値を引く 関連キーワード: DateTime date DateInterval 年月日 分秒 DateTimeImmutable interval 手続き サポート 操作 オブジ ...
-
https://man.mtool.work/php/8.3/datetime.sub.html
- DateTime::sub のエイリアス 9474
- « date_parse_from_format date_sun_info » PHP Manual 日付・時刻 関数 DateTime::sub のエイリアス 検索 date_sub (PHP 5 >= 5.3.0, PHP 7, PHP 8) date_sub — DateTime::sub() のエイリアス 説明 この関数は次の関数のエイリアスです。 DateTime::sub() 参
... 考 DateTimeImmutable::sub() - 年月日時分秒の値を引く DateTime::sub() - 年月日時分秒の値を DateTime オブジェクトから引く 関連キーワード: DateTime エイリアス date 年 ...
-
https://man.mtool.work/php/8.3/function.date-sub.html
- 年月日時分秒の値を加え、新しいオブジェクトを返す 9179
- « DateTimeImmutable DateTimeImmutable::__construct » PHP Manual DateTimeImmutable 年月日時分秒の値を加え、新しいオブジェクトを返す 検索 DateTimeImmutable::add (PHP 5 >= 5.5.0, PHP 7, PHP 8) DateTimeImmutable::add — 年月日時分秒の値を加え、新
... -> format ( 'Y-m-d' ) . "\n" ; ?> 上の例の出力は以下となります。 2001-01-31 2001-03-03 参考 DateTimeImmutable::sub() - 年月日時分秒の値を引く DateTimeImmutable::diff() - ふたつの DateTime オブジェクトの差を返す DateTimeImmutable::modify() - タイムスタ ...
-
https://man.mtool.work/php/8.3/datetimeimmutable.add.html