I am trying to convert format of date using Javascript. I found a method called toLocaleFormat.
<script>
var today = new Date();
var formatted_string = today.toLocaleFormat('%d/%m/%Y at %H:%M:%S %p (%Z)');
document.write(formatted_string);
</script>
But its working only in firefox. I want to know an alternate method for this, which will work on all the browsers. Kindly help me to do this. Thanks in advance.