

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 時間戳記格式字串


**重要**  
支援終止通知：現有客戶將可以使用 Amazon QLDB，直到 07/31/2025 的支援結束為止。如需詳細資訊，請參閱[將 Amazon QLDB Ledger 遷移至 Amazon Aurora PostgreSQL](https://aws.amazon.com/blogs/database/migrate-an-amazon-qldb-ledger-to-amazon-aurora-postgresql/)。

本節提供時間戳記格式字串的參考資訊。

時間戳記格式字串適用於 `TO_STRING`和 `TO_TIMESTAMP`函數。這些字串可包含日期部分分隔符號 （例如 '`-`'、'`/`' 或 '`:`') 和下列格式符號。

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/qldb/latest/developerguide/ql-functions.timestamp-format.html)