Universal countdown
http://www.dynamicdrive.com/dynamici...lcountdown.htm
I'm running the universal countdown script from within the Mason templating system. This line in the script is causing me a problem:
The problem is that the syntax '<% something %>' is used by Mason to include components, call functions, etc. So Mason throws an error when it encounters '<%= Now() %>', since it tries to interpret it as a Mason command.Code:var servertimestring= [snip] '<%= Now() %>'
Is there some other code I can use to replicate the results of the '<%= Now() %>' statement? I can use either PHP or SSI.



Reply With Quote

Bookmarks