実際のワークフローで Unix タイムスタンプ変換 を使う
この処理が実際のパイプラインのどこに位置するか——入力の来源、出力の使われ方、次に進む前の確認点。
使い方
- 取得元から生の値を集めます——API レスポンス、設定ファイル、ログ行、データベースのエクスポート。
- ツールで処理し、使用したオプション値を正確に控えておきます(再現性のため)。
- 出力をパイプラインの次の段階(リクエストヘッダー、マニフェスト、スクリプト定数)へ貼り付けます。
- 入力と出力をセットで記録しておくと、次の段階で失敗した際にどちら側の問題か切り分けられます。
例
Seconds or milliseconds accepted.
入力
1700000000
出力 — 検索結果
Unix timestamp: 1700000000 (seconds) UTC: 2023-11-14 22:13:20 ISO: 2023-11-14T22:13:20.000Z Local: Tue Nov 14 2023 22:13:20 GMT+0000 (Coordinated Universal Time) Seconds: 1700000000 Milliseconds: 1700000000000 Day of year: 318 · ISO week: 46 · Tuesday Display: 2023-11-14 22:13:20
実行
説明
Convert Unix time to human dates and back, in any timezone.
関連ツール
CurrentUnix 時刻Live clock showing Unix time in seconds and milliseconds.タイムスタンプ to 日付変換Turn a timestamp (s/ms/µs) into a formatted date instantly.日付 to タイムスタンプ変換Convert a calendar date & time into Unix epoch seconds.Milliseconds 変換Convert milliseconds to seconds, minutes, hours and days.時刻 Difference 計算Distance between two timestamps or dates in every unit.Base64 エンコードEncode text, JSON, URLs or files to Base64, standard or URL-safe.