Really hoping someone here knows. The time stamps in the chat box can do it, so I should be able to as well. In a post, I found these as reference, but they all seem to give military style time: var now = new Date();
var date = now.toDateString(); // Tue Nov 26 2013
var iso = now.toISOString(); // 2013-11-27T01:41:03.900Z
var json = now.toJSON(); // 2013-11-27T01:41:03.900Z
var lDate = now.toLocaleDateString(); // Tuesday, November 26, 2013
var lTime = now.toLocaleTimeString(); // 7:41:03 PM
var locale = now.toLocaleString(); // Tuesday, November 26, 2013 7:41:03 PM
var dStr = now.toString(); // Tue Nov 26 2013 19:41:03 GMT-0600 (Central Standard Time)
var time = now.toTimeString(); // 19:41:03 GMT-0600 (Central Standard Time)
var utc = now.toUTCString(); // Wed, 27 Nov 2013 01:41:03 GMT Is there a way to change them around to standard time, like in the Roll20 tstamp function? is there a way to call that function? This is what I have in my version of the enter/leave script var lTime = now.toLocaleTimeString(); // 7:41:03 PM But what I get is 24 hour version of the server time,22:37:27 GMT-0500 (CDT), not my time zone and not in 12 hour time. Any suggestions?