![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsIyZuBnLyFGdz9lbvNWavw1cldWYtl2Lc12bj5SZ5VGdp5yb1xWZkFmavw1LcpDc0RHaiojIsJye.png)
public static string formattime(string t) {
simpledateformat sdf = new simpledateformat("mmm dd yyyyhh:mm:ss", locale.us);
simpledateformat sdf2 = new simpledateformat("yyyymmddhhmmss");
try {
return sdf2.format(sdf.parse(t));
} catch (parseexception ex) {
logger.getlogger(tl.class.getname()).log(level.severe, null, ex);
}
return "";
}
// "softver":"feb 10 201520:05:34",
string hver = (string) job.get("softver");