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.