Get Action Gets the last modified time stamp for a page. format dd-MM-yyyy hh-mm-ss

Get Paramters

Returns


Example getTimeStamp(); <script> includeLibrary("/OpenForum/Javascript/ajax.js"); function getTimeStamp() { timeStamp = doGet("/OpenForum/TimeStamp","pageName=/OpenForum/TimeStamp"); alert("Time Stamp = "+timeStamp); } </script>

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); }