« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 164 for Timestamp (0.004 sec.)
The MongoDB\BSON\Timestamp class | PHP 8.3 10782
The MongoDB\BSON\Timestamp class (mongodb >=1.0.0) はじめに Represents a » BSON timestamp , The value consists of a 4-byte timestamp (i.e. seconds since the epoch) and a 4-byte increment. 注意 : This is an internal MongoDB type used for rep ... intended for general date storage ( MongoDB\BSON\UTCDateTime should be used instead). クラス概要 final class MongoDB\BSON\Timestamp implements MongoDB\BSON\TimestampInterface , MongoDB\BSON\Type , JsonSerializable , Stringable { /* メソッド */ final publ ... ic function __construct ( int $increment , int $timestamp ) final public function getIncrement (): int final public function getTimestamp (): int final public function jsonSerializ ... Serializable interface. PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+. PECL mongodb 1.3.0 Implements MongoDB\BSON\TimestampInterface . PECL mongodb 1.2.0 Implements Serializable and JsonSerializable . 目次 MongoDB\BSON\Timestamp::__construct — Co ...
https://man.mtool.work/php/8.3/class.mongodb-bson-timestamp.html
MongoDB\BSON\Timestamp::__construct — Construct a new Timestamp | PHP 8.3 10577
MongoDB\BSON\Timestamp::__construct (mongodb >=1.0.0) MongoDB\BSON\Timestamp::__construct — Construct a new Timestamp 説明 final public function MongoDB\BSON\Timestamp::__construct ( int $increment , int $timestamp ) パラメータ increment ( ... int ) 32-bit integer denoting the incrementing ordinal for operations within a given second. timestamp ( int ) 32-bit integer denoting seconds since the Unix epoch. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumen ... tException on argument parsing errors. 例 例1 MongoDB\BSON\Timestamp::__construct() example <?php $timestamp = new MongoDB\BSON\Timestamp ( 1234 , 5678 ); ?> 上の例の出力は以下となります。 ob ... ject(MongoDB\BSON\Timestamp)#1 (2) { ["increment"]=> int(1234) ["timestamp"]=> int(5678) } 参考 » BSON Types: Timestamps 他のマニュアルの関連ページ Du ...
https://man.mtool.work/php/8.3/mongodb-bson-timestamp.construct.html
MongoDB\BSON\Timestamp::getTimestamp — Returns the timestamp component of this ... 10417
MongoDB\BSON\Timestamp::getTimestamp (mongodb >=1.3.0) MongoDB\BSON\Timestamp::getTimestamp — Returns the timestamp component of this Timestamp 説明 final public function MongoDB\BSON\Timestamp::getTimestamp (): int The timestamp component ... of a Timestamp is its most significant 32 bits, which denotes the number of seconds since the Unix epoch. This value is read as an unsign ... a string representation of the unsigned decimal value. パラメータ この関数にはパラメータはありません。 戻り値 Returns the timestamp component of this Timestamp. 警告 On 32-bit systems this method may return a negative number. Although the increment and t ... imestamp parts of the BSON timestamp type consists of two unsigned 32-bit values, PHP can not represent these on 32-bit platforms. エラー / 例外 Throws MongoDB ...
https://man.mtool.work/php/8.3/mongodb-bson-timestamp.gettimestamp.html
MongoDB\BSON\Timestamp::__toString — Returns the string representation of this ... 10246
MongoDB\BSON\Timestamp::__toString (mongodb >=1.0.0) MongoDB\BSON\Timestamp::__toString — Returns the string representation of this Timestamp 説明 final public function MongoDB\BSON\Timestamp::__toString (): string パラメータ この関数にはパ ... ラメータはありません。 戻り値 Returns the string representation of this Timestamp. 例 例1 MongoDB\BSON\Timestamp::__toString() example <?php $timestamp = new MongoDB\BSON\Timestamp ( 1234 , 5678 ); var_du ... mp ((string) $timestamp ); ?> 上の例の出力は、 たとえば以下のようになります。 string(11) "[1234:5678]" 参考 » BSON Types: Timestamps 他のマニュアル ... の関連ページ DuckDB PHP Client DuckDB Timestamp with Time Zone Functions DuckDB Timestamp Issues DuckDB Timestamp Types DuckDB Appender ...
https://man.mtool.work/php/8.3/mongodb-bson-timestamp.tostring.html
MongoDB\BSON\TimestampInterface::getTimestamp — Returns the timestamp component... 9961
MongoDB\BSON\TimestampInterface::getTimestamp (mongodb >=1.3.0) MongoDB\BSON\TimestampInterface::getTimestamp — Returns the timestamp component of this TimestampInterface 説明 abstract public function MongoDB\BSON\TimestampInterface::getTimestamp ... estamp (): int パラメータ この関数にはパラメータはありません。 戻り値 Returns the timestamp component of this TimestampInterface. 警告 On 32-bit systems this method may return a negative number. Although the increm ... ent and timestamp parts of the BSON timestamp type consists of two unsigned 32-bit values, PHP can not represent these on 32-bit platforms. ... 参考 MongoDB\BSON\Timestamp::getTimestamp() - Returns the timestamp component of this Timestamp 他のマニュアルの関連ページ DuckDB Timestamp with Time ...
https://man.mtool.work/php/8.3/mongodb-bson-timestampinterface.gettimestamp.html
MongoDB\BSON\Timestamp::getIncrement — Returns the increment component of this ... 9927
MongoDB\BSON\Timestamp::getIncrement (mongodb >=1.3.0) MongoDB\BSON\Timestamp::getIncrement — Returns the increment component of this Timestamp 説明 final public function MongoDB\BSON\Timestamp::getIncrement (): int The increment component ... of a Timestamp is its least significant 32 bits, which denotes the incrementing ordinal for operations within a given second. This value ... the unsigned decimal value. パラメータ この関数にはパラメータはありません。 戻り値 Returns the increment component of this Timestamp. 警告 On 32-bit systems this method may return a negative number. Although the increment and timestamp parts of the BSON t ... rms. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 » BSON Types: Timestamps 他のマニュアルの関連ページ DuckDB PHP Client DuckDB Timestamp with Time Zone Functions DuckDB Timestamp Issues DuckDB Tim ...
https://man.mtool.work/php/8.3/mongodb-bson-timestamp.getincrement.html
variant_date_from_timestamp — Unix タイムスタンプを、日付形式の variant で返す ... 8297
variant_date_from_timestamp (PHP 5, PHP 7, PHP 8) variant_date_from_timestamp — Unix タイムスタンプを、日付形式の variant で返す 説明 function variant_date_from_timestamp ( int $timestamp ): variant unix タイムスタンプ値 timestamp を VT_DAT ... E 型の variant に変換します。 これにより、PHP の unix 的な部分と COM とのやりとりが容易になります。 パラメータ timestamp unix タイムスタンプ。 戻り値 VT_DATE 型の variant を返します。 参考 variant_date_to_timestamp() - 日付/時刻の variant 値を ...
https://man.mtool.work/php/8.3/function.variant-date-from-timestamp.html
idate — ローカルな時刻/日付の一部を整数として整形する | PHP 8.3 7898
idate (PHP 5, PHP 7, PHP 8) idate — ローカルな時刻/日付の一部を整数として整形する 説明 function idate ( string $format , ? int $timestamp = null ): int | false 指定された引数 timestamp を、 与えられたフォーマット文字列によりフォーマットし、 ... 日付数値を返します。 タイムスタンプが与えられない場合は、現在のローカル時刻が使われます。 つまり、 timestamp はオプションであり、 そのデフォルト値は time() の値です。 関数 date() と異なり、 idate() は format パラメータ中は一文字しか ... 週番号 y 年 (1 桁あるいは 2 桁の数値 - 下の「注意」を確認ください) Y 年 (4 桁) z 年間の通算日 Z タイムゾーンのオフセット秒数 timestamp オプションのパラメータ timestamp は、 int 型の Unix タイムスタンプです。 timestamp が指定されなかったり、 null だった場合の ... 変更履歴 バージョン 説明 8.2.0 フォーマット文字 N (ISO-8601 形式の曜日) と o (ISO-8601 形式の年) が追加されました。 8.0.0 timestamp は、nullable になりました。 例 例1 idate() の例 <?php $timestamp = strtotime ( '1st January 2004' ); // 1072915200 // これ ...
https://man.mtool.work/php/8.3/function.idate.html
date_timestamp_set — DateTime::setTimestamp() | PHP 8.3 7408
date_timestamp_set (PHP 5 >= 5.3.0, PHP 7, PHP 8) date_timestamp_set — DateTime::setTimestamp() のエイリアス 説明 この関数は次の関数のエイリアスです。 DateTime::setTimestamp() 他のマニュアルの関連ページ Python datetime Python datetime DuckD ... B Timestamp Issues DuckDB Complete API DuckDB Create Synthetic Data DuckDB Timestamp Functions ...
https://man.mtool.work/php/8.3/function.date-timestamp-set.html
getdate — 日付/時刻情報を取得する | PHP 8.3 7408
getdate (PHP 4, PHP 5, PHP 7, PHP 8) getdate — 日付/時刻情報を取得する 説明 function getdate ( ? int $timestamp = null ): array timestamp に関する日付情報を有する連想配列を返します。 timestamp が省略されたり、 null だった場合、現在のローカル ... な時間に関する情報を返します。 パラメータ timestamp オプションのパラメータ timestamp は、 int 型の Unix タイムスタンプです。 timestamp が指定されなかったり、 null だった場合の ... デフォルト値は、 現在の時刻です。言い換えると、デフォルトは time() の返り値となります。 戻り値 timestamp に関連する情報を連想配列で返します。 返される連想配列の内容は、次のようになります。 返される連想配列のキー キー 説明 戻り値 ... と同様。 date() でも使用される。 システムによって違うが、通常は -2147483648 から 2147483647 . 変更履歴 バージョン 説明 8.0.0 timestamp は、nullable になりました。 例 例1 getdate() の例 <?php $today = getdate (); print_r ( $today ); 上の例の出力は、 たとえば ...
https://man.mtool.work/php/8.3/function.getdate.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT