XTIPS

Tips Mail Tools
GuestBook Link Exchange
Home Page

TIME AND DATE SETTINGS
There are MANY time and date settings that are not avalable from the XTgem creator but they CAN be set in html.
The most you can set from creator is this.
[XT: Time and date (Y-m-d H:i)]
-Html code-
<xt id="tdate" format="Y-m-d H:i" tzone="0" />
Which produces this.
2025-02-27 06:05
By setting the format using
html you can do much more.
-Html code-
<xt id="tdate" format=" l F jS Y f:i:s a" tzone="0" />
Which produces this.
Thursday February 27th 2025 6:05:40 am
To find out how to get a graphic time/date display see here
Here is a list of the settings with what they produce.
Almost anything not a letter can be used as spacers. And other characters can be "escaped" using \ .

A=AM/PM
a=am/pm
B=Swatch internet time (295)
c=full (2025-02-27T06:05:40+00:00)
D= day of week (Thu)
d=day of month (Thu)
e=timezone (GMT)
F=name of month (February)
g=hour (12 hr no leading 0)
h=hour (12hr leading 0)
G=hour (24hr no leading 0)
H=hour (24hr leading 0)
i=minutes (05)
I=daylight saving (1=yes 0=no)
j=day of month (no leading 0)
l= day of week (Thursday)
L=leapyear (1=yes 0=no)
M=name of month (Feb)
m=month (leading 0)
n=month (no leading 0)
N=day (1=mon 7=sun) (4)
w=day (sun=0 sat=6) (4)
r=full (Thu, 27 Feb 2025 06:05:40 +0000)
S=type of date (1st 2nd 3rd 4th)
s=seconds (40)
T= timezone abbrv (GMT)
t=days in month (28)
U=seconds since 1/1/1970 (1740636340)
W=week number (4)
Y=year (2025)
y=year (2025)
z=days (0=jan 1) (57)
O= difference from GMT in hours (+0000)
P= same with a colon (+00:00)
u= Microseconds (000000)
the official list
Random Partner

vbytes
BACK

©2009 - 2025Theoldman
JOIN XTBOARD
X T B O A R D
THE MOBILE WORLD IS
X T G E M