Get Action Gets the last modified time stamp for a page. format dd-MM-yyyy hh-mm-ss
Get Paramters
- pageName - The name of the page to get the timestamp for
Returns
- time stamp (format dd-MM-yyyy hh-mm-ss)
Example getTimeStamp();
Server Side Javascript for GET method
if(typeof(pageName)=="undefined")
{
transaction.setResult(transaction.SHOW_PAGE);
}
else
{
data = wiki.getDateTimeStamp(pageName);
transaction.sendResponseHeader();
transaction.sendString(data);
}