Hello,
I am trying to show the 'Last Updated Date' on my product pages. (& todays date on the home page?)
I am using the following info from the Actinic FAQ section which says to place the following code into Act_ProductBody.html.
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!-Begin
var dateObj = new Date(document.lastModified)
document.write("Last Updated: " + dateObj.toLocaleString());
// End -->
</SCRIPT>
However it doesn't matter where I put this code within Act_ProductBody.html - it doesn't seem to work.
Can any code breakers/Java/Actinic experts out there tell me if I'm doing something wrong..?
Thanks
Jackie
I am trying to show the 'Last Updated Date' on my product pages. (& todays date on the home page?)
I am using the following info from the Actinic FAQ section which says to place the following code into Act_ProductBody.html.
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!-Begin
var dateObj = new Date(document.lastModified)
document.write("Last Updated: " + dateObj.toLocaleString());
// End -->
</SCRIPT>
However it doesn't matter where I put this code within Act_ProductBody.html - it doesn't seem to work.
Can any code breakers/Java/Actinic experts out there tell me if I'm doing something wrong..?
Thanks
Jackie
Comment