How to set system time in Windows 10 IoT?

后端 未结 8 2514
星月不相逢
星月不相逢 2020-12-31 05:12

Is there a way to set system time from my app running on a Raspberry Pi 2 in Windows 10 IoT Core Insider Preview?

This doesn\'t work for lack of kernel32.dll

<
8条回答
  •  抹茶落季
    2020-12-31 05:52

    First, connect to your Pi 2 using PowerShell.

    Use the command set-date to set the time. For example, if you want to set the date to Saturday, October 3, 2015, 2:00PM, you would type set-date 10/3/2015 2:00PM.

    The command tzutil sets the time zone. Type tzutil /? for usage

提交回复
热议问题