def dt2jsts(mdatetime):
return calendar.timegm(mdatetime.timetuple())*<NUM_LIT>+mdatetime.microsecond/<NUM_LIT><EOL>
Given a python datetime, convert to javascript timestamp format (milliseconds since Jan 1 1970).
Do so with microsecond precision, and without adding any timezone offset.