Command to get time in milliseconds

后端 未结 12 971
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 04:01

Is there a shell command in Linux to get the time in milliseconds?

12条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-02 04:25

    A Python script like this:

    import time
    cur_time = int(time.time()*1000)
    

提交回复
热议问题