Jump to content

Recommended Posts

Posted

OK, so hands up, I'm being incredibly lazy here but...

 

Does anyone know of a script I can add to each of my web pages on the school site that will read the date the html file was last updated so I can automate the "Page last updated on..." bit at the bottom of each page? IIS server hosted on Windows 2012R2 server.

 

Did I mention I was being incredibly lazy?

 

Cheers

Andrew

Posted (edited)

OK, never mind, seconds after posting that Google turned up trumps after an hour of finding dead ends...

 

If anyone else ever wants to know, this line does the job

 

Page last updated:

Edited by AJWhite1970

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...