Tag Archives: DATE_LOCAL

Displaying the Correct Time for Your Time Zone

Let’s say that you want to display the time on your HTML page.  You could do it like this in test.html: <html> <body> <!–#config timefmt=”%I:%M %p %Z” –> <p><!–#echo var=”DATE_LOCAL”–></p> </body> </html> That works fine as long as your ISP … Continue reading

Posted in Apache, HTML, PHP | Tagged , , , , , , | Leave a comment

Displaying a Copyright Year on an HTML Page

Let’s say that you’re building a large website in HTML.  The client wants to display a copyright declaration on each page of the site using the current year.  If the year is hard-coded on the site on each page, this … Continue reading

Posted in HTML | Tagged , , | Leave a comment