I get a date from MySQL in the following format:
Sat Dec 10 1988 19:40:16 GMT+0200 (South Africa Standard Time)
I want to convert this to a Javascript date so that I can easily supply JSON timestamps for data readings (Probably in the format YYYY-MM-DD:HH:mm:ss). How can I do that?