以下是将NT时间戳转换为UTC时间戳的bat脚本:

@echo off set /p nttimestamp=Please enter the NT timestamp (in hexadecimal format): set /a utctimestamp=(nttimestamp / 10000000) - 11644473600 echo The UTC timestamp is %utctimestamp%

以下是将UTC时间戳转换为NT时间戳的bat脚本:

@echo off set /p utctimestamp=Please enter the UTC timestamp: set /a nttimestamp=(utctimestamp + 11644473600) * 10000000 echo The NT timestamp is %nttimestamp% (in hexadecimal format)

bat脚本可以将NT时间戳转换为UTC时间戳也可以将UTC时间戳转换为NT时间戳。

原文地址: https://www.cveoy.top/t/topic/fmpm 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录