【Shell】date 做 timestamp 格式轉換計算

要將日期與 timestamp 互相做格式轉換,只要使用 date 就可以達成,date 還可以順便做些日期的加減換算。

 

<來源>Linux 使用 date 做 timestamp 格式轉換計算 – Tsung's Blog (longwin.com.tw)


修訂版本 #1
由 treeman 建立於 2022-05-12 15:32:52 CST
由 treeman 更新於 2025-12-18 02:14:54 CST