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 there a command, or set of commands in Batch with which you can get the UNIX time?
Copyright Notice:Content Author:「beary605」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/11385030/batch-timestamp-to-unix-time