regarding this link and info. :
How do I get a UTC Timestamp in JavaScript?
I could not post an update to the gentleman you gave me a hint at what could be done to enhance the answer:
I send thanks to : https://stackoverflow.com/users/376535/shiplu-mokadd-im shiplu.mokadd.im 29.1k33797
You could also do it utilizing getTimezoneOffset and getTime,
x = new Date()
var UTCseconds = (x.getTime() + x.getTimezoneOffset()*60*1000)/1000;
Thank you for the TIMEZONEOFFSET call. I made an enhancement.
// 20140922 arf made another piece of server side classic asp work.
// I prefer moving both sides of equation to seconds.
x = new Date()
var UTCseconds = ( (x.getTime()/1000) + (x.getTimezoneOffset()/60) );
return UTCseconds
// sample from another post
<script language='Javascript' runat='server'>
function jsGetUTCTime() {
//var d = new Date();
//return d.toUTCString();
x = new Date()
var UTCseconds = ( (x.getTime()/1000) + (x.getTimezoneOffset()/60) );
return UTCseconds
}
</script>
<script language='VBScript' runat='server'>
Function getUTCTime()
' Use JScript to get the current GMT time stamp
getUTCTime = jsGetUTCTime()
End Function
</script>
< %
m_utc_time_stamp = getUTCTime()
% >