Code to Display the Last Modified date to a post using Local Browser ?

Chvrsri
Posted by Chvrsri under C# category on | Points: 40 | Views : 2970
Hi this is very simple,

Code to Display the Last Modified date to a post using Local Browser

Response.Write("<script language='JavaScript'>");
Response.Write(" d = new Date('"+posting.LastModifiedDate+" GMT');");
Response.Write(" document.write(d.toLocaleString());");
Response.Write("</script>");

Comments or Responses

Login to post response