Hello,
Does anyone know how to convert "Date().getTime()" to UTC?
Obviously the getTime() is the users local time so I need a function to get the users timezone, convert the timestamp to UTC so I can then * it by -8 to get the current PST time.
Hello,
Does anyone know how to convert "Date().getTime()" to UTC?
Obviously the getTime() is the users local time so I need a function to get the users timezone, convert the timestamp to UTC so I can then * it by -8 to get the current PST time.