%a | Short name of the day of the week (Sun...Sat) |
%b | Short name of the month (Jan...Dec) |
%c | Month in numeric form (1...12) |
%D | Day of the month with suffix (1st, 2nd, 3rd and etc.) |
%d | Day of the month in numeric form with a leading zero (01..31) |
%e | Day of the month in numeric form (1..31) |
%f | Microsecond (000000..999999) |
%H | Hour with leading zero (00..23) |
%h | Hour with leading zero (01..12) |
%I | Hour with leading zero (01..12) |
%i | Minutes with leading zero (00..59) |
%j | Day of the year (001..366) |
%k | Hour with leading zero (0..23) |
%l | Hour without leading zero (1..12) |
%M | Name of the month (January...December) |
%m | Month in numeric form with a leading zero (01..12) |
%p | AM or PM (for 12 hour format) |
%r | Time, 12 hour format (hh:mm:ss AM|hh:mm:ss PM) |
%S | Seconds (00..59) |
%s | Seconds (00..59) |
%T | Time, 24 hour format (hh:mm:ss) |
%U | Week (00..52) where Sunday is considered first day of the week |
%u | Week (00..52), where Monday is considered the first day of the week |
%W | Name of the day of the week (Sunday...Saturday) |
%w | Day of the week (0...6), 0 - Sunday, 6 - Saturday |
%Y | Year in 4 digits YYYY |
%y | Year in 2 digits YY |