I am trying to get the current date in UTC format in javascript in the following example format:
Thu, Apr 21, 2016
Now I am using Javascript as:
var now = new Date();
var currentDate;
currentDate = now.toUTCString(now);
This returns the date as Thu, Apr 21 2016. Notice the comma after Apr 21. The comma is what I need. Any suggestions would be of great help. Thanks!!