I know there should be an easy way to do this but I guess my brain isn’t working today. I need to refresh a page in x number of seconds. I can do that in .NET using the following: Response.AddHeader(“Refresh”, “300”); This is fine except I also need to display the number of minutes and […]
Category: javascript
Converting dates in JavaScript
How can I convert one date format to another format in JavaScript? Example: the old format is YYYY/MM/DD but I want to convert it into DD-MM-YYYY