An XSSI Library Article

timefmt Commands Information

Now that you've got the basics, let's try some cooler stuff. First off, lets put together a date and time stamp that shows every measurment that we can display in numerical form, starting with the year and ending with the seconds.

<!--#config timefmt = "%Y %m %d %H %M %S" -->

and when this particular command string is used we get the following display on a web page:

2024 03 29 08 36 00

Interesting but rather uniformative, don't you think? Well fortunately, we can put more than just the commands into the string. We can also add letters, numbers, punctuation; just about everything except for quotation marks can go in the string just by typing them in. So let's update our command string.

<!--#config timefmt = "It is now year %Y, Anno Domini, in the month numbered %m, and the day %d of that month. As well there have been %H hours since Midnight and it is currently %M minutes past the hour and %S seconds past the minute." -->

And this wordy example gives us:

It is now year 2024, aminos domini, in the month numbered 03, and the day 29 of that month. As well there have been 08 hours since Midnight and it is currently 36 minutes past the hour and 00 seconds past the minute.

Don't miss the two charts that list the commands that used in the string. One chart is in Alphebetical order. Another one is sorted by functional groupings.

XSSI Library:
http://www.ordersomewherechaos.com/rosso/xssi/