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.
%time%
Is ther
create a .bat file called "getUtime.bat"
@echo off echo WScript.Echo(new Date().getTime()); > %temp%\time.js cscript //nologo %temp%\time.js del %temp%\time.js
and call like this
"C:\>getUTime" 1430894237616