Search

Date Format

Last Updated: May 10, 2022

Articles

Code Meaning Example
%d Day of the month as a zero-padded decimal number 30
%m Month as a zero-padded decimal number 09
%B Month as locale’s full name September
%b Month as locale’s abbreviated name Sep
%y Year without century as a zero-padded decimal number 20
%Y Year with century as a decimal number 2020
Did you find what you were looking for?