MM/YY

範例: 12/25
International 1.6K 次搜尋/月

MM/YY是什麼意思?

Short month-year format, commonly used for credit card expiration dates

MM
01-12
YY
00-99

今日日期(MM/YY格式)

01/25

MM/YY 範例

日期 MM/YY 注意
New Year's Day 01/26 New Year's Day
Valentine's Day 02/26 Valentine's Day
Independence Day (US) 07/26 Independence Day (US)
Christmas 12/26 Christmas
New Year's Eve 12/26 New Year's Eve

在程式碼中將日期格式化為MM/YY

Javascript
date.toLocaleDateString('en-US', {month: '2-digit', year: '2-digit'})
Python
date.strftime('%m/%y')
Php
date('m/y')
Mysql
DATE_FORMAT(date, '%m/%y')

查看所有程式語言 →

相關日期格式

常見問題

MM/YY代表什麼?
在MM/YY中: YY = 2位數年份. MM = 2位數月份(01-12). 範例: 12/25
如何轉換為MM/YY格式?
使用我們的 日期轉換工具 立即將任何日期轉換為MM/YY格式,或查看上面的程式範例獲取程式碼解決方案。