Time_unix2human(time) { human=19700101000000 time-=((A_NowUTC-A_Now)//10000)*3600 ;时差 human+=%time%,Seconds return human } Time_human2unix(time) { time-=19700101000000,Seconds time+=((A_NowUTC-A_Now)//10000)*3600 ;时差 return time } a := Time_human2unix(A_Now) ;转时间戳 b := Time_unix2human(a) ;转 YYYYMMDDHH24MISS FormatTime, time, % b, yyyy-MM-d MsgBox % a
转自:维京海盗
59 queries in 2.262 seconds |