PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

The MongoDB\BSON\Timestamp class | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

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 replication and sharding. It is not intended for general date storage (MongoDB\BSON\UTCDateTime should be used instead).

クラス概要

/* メソッド */
final public __construct ( integer $increment , integer $timestamp )
final public integer getIncrement ( void )
final public integer getTimestamp ( void )
final public mixed jsonSerialize ( void )
final public string serialize ( void )
final public string __toString ( void )
final public void unserialize ( string $serialized )
}

変更履歴

バージョン 説明
1.2.0 Implements Serializable and JsonSerializable.

目次


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「The MongoDB\BSON\Timestamp class」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | The MongoDB\BSON\Timestamp class」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: