• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Server Side Includes > Time Formats for SSI Output

13.8. Time Formats for SSI Output

SSI provides a rich set of date and time formats that can be used with the timefmt attribute of the config command. To format the date, insert the code for the format, separated by commas as you intend it to display in the inserted text:

<!--#config timefmt="%A, %B %e, %Y" -->
Good morning! It is now <!--#echo var="DATE_LOCAL" -->


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint