MongoDB ObjectId デコード のクイックスタート
最初に成功させるために必要なすべて:何を入力し、どのオプションが重要で、結果をどう読むか。
使い方
- ツールを開き、左の入力欄にデータを貼り付けます。
- タスクに本当に必要なオプションだけを設定します。ほとんどの場合、既定値で正しく動作します。
- 右の出力欄で結果を確認します。入力に応じてリアルタイムに更新されます。
- 「コピー」で結果を取得するか、「ダウンロード」でファイルとして保存します。
例
The first four bytes are a Unix timestamp, which is why ObjectIds sort roughly by creation time.
入力
507f1f77bcf86cd799439011
出力 — 検索結果
507f1f77bcf86cd799439011 Layout (12 bytes / 24 hex characters) timestamp 4 bytes 507f1f77 = 1350508407 random 5 bytes bcf86cd799 (process-unique, per the current spec) counter 3 bytes 439011 = 4427793 Creation time (UTC) 2012-10-17T21:13:27.000Z Creation time (local) Wed Oct 17 2012 21:13:27 GMT+0000 (Coordinated Universal Time) Age 5091.9 days Older drivers used 3-byte machine id + 2-byte process id instead of 5 random bytes; both layouts put the timestamp first, which is why ObjectIds sort roughly by time.
実行
説明
Extract the creation timestamp, random bytes and counter from a 24-character ObjectId.
関連ツール
Cron 数式解析Explain cron syntax and compute the next 10 run times.HTTP ステータス Code 一覧Search all HTTP status codes with meanings and usage notes.User-Agent 解析Break a User-Agent string into browser, engine and OS.ASCII 文字テーブルInteractive reference of all 128 ASCII codes.Unicode 文字一覧Inspect code points, blocks and UTF encodings of any character..gitignore 生成Assemble a .gitignore from curated stack templates.