Batch: Timestamp to UNIX Time

前端 未结 5 745
感情败类
感情败类 2020-12-16 16:44

For all I know, Batch does not have a command that gives the UNIX time. The closest one I can find is %time%, which only displays the timestamp.

Is ther

5条回答
  •  不知归路
    2020-12-16 17:30

    There is no batch command for returning UNIX time. Your only options would be to write a program which could be run from a batch file that would return the UNIX time, or you could use the Windows PowerShell.

提交回复
热议问题