【问题标题】:How do I set the time of a device in Windows 10 ioT?如何在 Windows 10 物联网中设置设备的时间?
【发布时间】:2015-08-06 14:35:30
【问题描述】:

我有一个带有 Windows 10 物联网的 Raspberry Pi 2。如何使用 C# 设置设备的时间? 谢谢

附:如果不可能,我该如何设置时区?

【问题讨论】:

    标签: raspberry-pi iot windows-10-iot-core


    【解决方案1】:

    您可以通过connecting remotely to your device via Powershell 执行此操作并运行“tzutil”。

    当前时区

    TZUTIL /g

    当前时间

    日期

    获取所有可用时区的列表

    tzutil /l

    设置时区

    TZUTIL /s "巴基斯坦标准时间"

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多