We would like to know how to date.parse ddd mmm dd hh:mm:ss UTC +nnnn as 'Thu Aug 2 2012 12:20:12 UTC +0100'.
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'>
document.writeln(new Date("Thu Aug 2 2012 12:20:12 UTC +0100"));
<!-- w w w . j av a 2s . c o m-->
</script>
</head>
<body>
</body>
</html>
The code above is rendered as follows: