I am getting dates back in the format: 2012-07-22T:14:45:00
I need to know how to format in JS in order to display in a specific format i.e. 22/07/2012
If I do this:
var date = new Date(self.StartTime());
alert("test " + date.getDate() + "/" + date.getMonth() + "/" + date.getFullYear());
I actually get 22/06/2012 which is a month out??