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.
2010-09-03 04:17
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.
Friday September 3rd 2010 4:17:23 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 (220) c=full (2010-09-03T04:17:23+00:00) D= day of week (Fri) d=day of month (03) e=timezone (UTC) F=name of month (September) 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 (17) I=daylight saving (1=yes 0=no) j=day of month (no leading 0) l= day of week (Friday) L=leapyear (1=yes 0=no) M=name of month (Sep) m=month (leading 0) n=month (no leading 0) N=day (1=mon 7=sun) (5) w=day (sun=0 sat=6) (5) r=full (Fri, 03 Sep 2010 04:17:23 +0000) S=type of date (1st 2nd 3rd 4th) s=seconds (23) T= timezone abbrv (UTC) t=days in month (30) U=seconds since 1/1/1970 (1283487443) W=week number (35) Y=year (2010) y=year (10) z=days (0=jan 1) (245) O= difference from GMT in hours (+0000) P= same with a colon (+00:00) u= Microseconds (000000) |