Quote:
Originally Posted by newhere
For formatting, you can change the function:
"replaceDates(s)"
Here:
Code:
ret = ret + (date.getMonth()+1) + "/" +
date.getDate() + "/" +
date.getFullYear() + " " +
date.getHours() + ":" +
((date.getMinutes() < 10) ? "0" : "") +
date.getMinutes() + ":" +
((date.getSeconds() < 10) ? "0" : "") +
date.getSeconds() + " ";
To whatever you like.
|
Does this code also change from 24 hour to 12 hour time?