♦View your IP Address: (none)♦Members♦Help♦Bookmark♦NewHOT♦110mb♦Alexa Ranking♦
♦Study♦InfoTech♦Security♦Entertainment♦Tourism♦Career♦Social♦Business♦Science♦
♦California-USA: ♦
Date Commands of SSI
Products / Services
This shows you how to configure the date/time format and demonstrates the possible date/time formats!
Here are the basic date commands:
<!--#echo var="DATE_LOCAL" -->
<!--#echo var="DATE_GMT" -->
To configure the time:
The time format is specified as in the following example:
<!--#config timefmt="%y %m %d" -->
or
<!--#config timefmt="%H:%M:%S" -->
etc.
Simply replace or rearrange the characters with those in the table below to get the format you need. You can also enter other formatting characters between these to get the format you want.
%a Abbreviated weekday name Fri
%A Full weekday name Friday
%b Abbreviated month name (also %h) Nov
%B Full month name November
%c current day & time of local server Fri Nov 27 07:56:56 2009
%C current day & time in default format 20
%d Day of month as decimal number (have not 0 digit such as 09) 27
%D Date as %m/%d/%y 11/27/09
%e Day of month as 2-digit decimal number 27
%H current hour, 24 hour clock; 00-23 07
%I current hour, 12 hour clock; 01-12 07
%j Day of year as decimal; 001-366 331
%m Month number; 01-12 11
%M current minute; 00-59 56
%n Insert a newline character
%p AM/PM of local server AM
%r Time as "%I:%M:%S AM | PM 07:56:56 AM
%R Time as %H:%M 07:56
%S current seconds; 00-59 56
%t Insert a tab character
%T 24 hour Time as %H:%M:%S 07:56:56
%U Week of the year (also %W) 00-51; Sunday first day of week 47
%w Day of week - Sunday first day; 0-6 5
%W Week of the year 00-51; Monday as first day of week 47
%x current date formatted for servers locale 11/27/09
%X current time formatted for servers locale 07:56:56
%y Year number without century; 2-digit Fri
%Y Year number without century; 4-digit 2009
%z +0100
%Z Time zone name/abbrev of servers time zone CET
%% A percent character %
View more...- Introduction to Server Side Includes (SSI).
- Enable SSI On Your Server via .htaccess file.
- Include Command of SSI.
- Echo Command of SSI.
- Date Command of SSI.
- Config Command of SSI.
- Exec Command of SSI.
- Other Basic Commands of SSI.
- SSI Conditional Basics.
- Conditional Expressions of SSI.
- Choose colors for your website.
- 10 Reasons Why People Don't Visit Your Web Site.
- 10 Profitable Reasons To Add A Discussion Board Or Chat Room To Your Web Site.
- 10 Legal Commandments for Your website.
- A sample for comments include Google Search results on Web, Videos, Blogs.
- Add Favicon to further promote your website.
- Website Design and content, technical guidelines and basic principles.
- List of common MIME types and their corresponding file extensions.
- What is a RSS Feed ? How to make Static Feeds and Dynamic Feeds.
- Resources design website for webmasters.
♦Email to your friend ♦Email to us ♦Get updates by Email ♦View updates on Web ♦Follow us on Twitter ♦Google Safe Browsing ♦McAfee SiteAdvisor ♦Diagnostic this page ♦Noreton SafeWeb ♦DrWeb ♦Technorati Links ♦Save to del.icio.us ♦Add to del.icio.us ♦Digg This! ♦Share on Facebook ♦outside.in: geotag this story ♦Discuss on Newsvine ♦Stumble It! ♦Add to Mixx!♦
If you would like to submit your website for FREE or advertise your own webpage(s) on our webpages, please enter Terms of Service webpage to send your request. Thank you!