LIST OF FORMAT OPTIONS |
A = AM/PM (PM) |
a=am/pm (pm) |
B = Swatch internet time (583) |
c = full (2024-12-21T13:00:27+00:00) |
D = day of week (Sat) |
d = day of month (21) |
e = timezone (GMT) |
F = name of month (December) |
g = hour (1) (12 hr no leading 0) |
h = hour (01) (12hr leading 0) |
G = hour (13) (24hr no leading 0) |
H = hour (13) (24hr leading 0) |
i = minutes (00) |
I = daylight saving (0) (1=yes 0=no) |
j = day of month (21) (no leading 0) |
l = day of week (Saturday) |
L = leapyear (1=yes 0=no) (1) |
M = name of month (Dec) |
m = month (12) (leading 0) |
n = month (12) (no leading 0) |
N = day (1=mon 7=sun) (6) |
w = day (sun=0 sat=6) (6) |
r = full (Sat, 21 Dec 2024 13:00:27 +0000) |
S = type of date (1st 2nd 3rd 4th) (st) |
s = seconds (27) |
T = timezone abbrv (GMT) |
t = days in month (31) |
U = seconds since 1/1/1970 (1734786027) |
W = week number (51) |
y = year (24) |
Y = year (2024) |
z = days (0=jan 1) (355) |
O = difference from GMT in hours (+0000) |
P = same with a colon (+00:00) |
u = Microseconds (000000) |