Quote:
Originally Posted by dbirosel
Works great... can we have 12 hour time instead? How about the date being more simple like instead of 4/9/2007 have it as 4/9? How about adding brackets to the timestamps?
Overall, it's running great on my site. Thanks!
|
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.