📊

Google Sheets YYYY-MM-DD

輸出: 2025-01-15
快速參考
格式字串
yyyy-mm-dd
輸出
2025-01-15

在Google Sheets中將日期格式化為YYYY-MM-DD

📊 Google Sheets
=TEXT(A1, "yyyy-mm-dd")

Google Sheets日期格式代碼

代碼 含義 範例
dd Day (01-31) 31
d Day (1-31) 31
mm Month (01-12) 12
mmm Abbreviated month Dec
mmmm Full month December
yyyy Year (4 digits) 2025
yy Year (2 digits) 25

Google Sheets的其他格式

其他語言的YYYY-MM-DD

官方文檔

有關Google Sheets日期格式的更多資訊,請參閱官方文檔:

Google Sheets日期文檔 →

相關頁面