I added in my application universal time, and I gave start and stop time. The process is going smoothly, but if I change my system (local) time, the entire time will be changed. Is there any solution to solve this problem?
Example code:-
var UTC_timefixing:
var local time:Date=new Date();
UTC_timefixing = new Date();
UTC_timefixing.setUTCHours(
UTC_timefixing.getUTCHours()
UTC_timefixing.getUTCMinutes()
UTC_timefixing.getUTCSeconds()
);
var time_diff:Number;
time_diff=timefixing .gettime() - local time.time();