こんなでいいのかな?
echo %time% →ミリ秒削る場合は echo %time:~0,8%
ttp://www.atmarkit.co.jp/fwin2k/win2ktips/419batchdate/batchdate.html