& Amp; bull; Convert UTC time to Standard Time // convert UTC time to Standard Time functionTodate (num) {numnum + & quot; vardate & quot; & quot; varmonthnewArray (); month [& quot; Jan & quot;] 1; month [& quot; Feb & quot;
• Convert UTC time to Standard Time
// Convert the UTC time to the Standard Time
Function Todate (num ){
Num = num + "";
Var date = "";
Var month = new Array ();
Month ["Jan"] = 1; month ["Feb"] = 2; month ["Mar"] = 3; month ["Apr"] = 4; month ["May"] = 5; month ["Jan"] = 6;
Month ["Jul"] = 7; month ["Aug"] = 8; month ["Sep"] = 9; month ["Oct"] = 10; month ["Nov"] = 11; month ["Dec"] = 12;
Var week = new Array ();
Week ["Mon"] = "1"; week ["Tue"] = "2"; week ["Wed"] = "3 "; week ["Thu"] = "4"; week ["Fri"] = "5"; week ["Sat"] = "6 "; week ["Sun"] = "day ";
Str = num. split ("");
Date = str [5] + "-";
// Str [3] Time
Date = date + month [str [1] + "-" + str [2] + "" + str [3];
Return date;
}
From gossip