V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  vokins  ›  全部回复第 6 页 / 共 87 页
回复总数  1725
1 ... 2  3  4  5  6  7  8  9  10  11 ... 87  
86 天前
回复了 XiaoWangAqA 创建的主题 MacBook Pro 淘宝上购买 mbp 靠谱吗
我是浙江苹果源买的也是很多年老店了
87 天前
回复了 icyzhangbing2021 创建的主题 Apple TV tvos app 有央视影音吗?
87 天前
回复了 icyzhangbing2021 创建的主题 Apple TV tvos app 有央视影音吗?
aptv 用 fanmingming 的 ipv6 源电信联通移动都是秒播
fcpx 有白名单的,符合 Apple 序列号等多个判断条件才会好用,同样的硬件,白苹果的 fcpx 就是比黑苹果快。
87 天前
回复了 bugmaker1024 创建的主题 iOS ios17 用哪个版本养老比较好?
@peteryeqing 17.1 就修复了,但是关闭验证了。17.2 续航很好 17.2.1 信号不行,17.3 信号又好,续航又好。15pm & 15plus 目前都在 17.3
::让 Windows 将 BIOS 硬件时间视为协调世界时( UTC ): 解决和 Win Mac 双系统 时间不同步的问题
reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v "RealTimeIsUniversal" /t REG_DWORD /d 1 /f


我用的是这一条没啥问题啊,改完以后重新用 vbs 同步下时间

'VBS 校准系统时间 BY Yu2n 2019.05.26 http://www.bathome.net/viewthread.php?tid=60369
Option Explicit

RunAsAdminX64
Main

'************************************************************************
Sub Main()
'************************************************************************
Dim dtNet, dtLocal1, dtLocal2, lngOffset1, lngOffset2, strMessage
dtNet = GetNetTime("http://www.microsoft.com")
dtLocal1 = Now()
lngOffset1 = Abs(DateDiff("s", dtNet, dtLocal1))
If lngOffset1 > 1 Then
SetDateTime dtNet
dtLocal2 = Now()
lngOffset2 = Abs(DateDiff("s", dtNet, dtLocal2))
strMessage = " [校准前] " & vbCrLf _
& "标准北京时间为:" & vbTab & dtNet & vbCrLf _
& "本机系统时间为:" & vbTab & dtLocal1 & vbCrLf _
& "与标准时间相差:" & vbTab & lngOffset1 & "秒" & vbCrLf & vbCrLf _
& " [校准后] " & vbCrLf _
& "标准北京时间为:" & vbTab & dtNet & vbCrLf _
& "本机系统时间为:" & vbTab & dtLocal2 & vbCrLf _
& "与标准时间相差:" & vbTab & lngOffset2 & "秒"
Else
strMessage = " [无需校准] " & vbCrLf _
& "标准北京时间为:" & vbTab & dtNet & vbCrLf _
& "本机系统时间为:" & vbTab & dtLocal1 & vbCrLf _
& "与标准时间相差:" & vbTab & lngOffset1 & "秒"
End If
WScript.Echo strMessage
End Sub


'************************************************************************
'获取网络上指定的 HTTP 服务器时间
'************************************************************************
Function GetNetTime(ByVal Url)
Dim Bias, DateLine '时间偏移(分钟)
Dim dtGMT, dtLocal, dtBegin
On Error Resume Next
With CreateObject("WScript.Shell")
'[ActiveTimeBias]:该键值存储当前系统时间相对格林尼治标准时间的偏移(以分钟为单位)
'[Bias]:该键值存储当前本地时间相对格林尼治标准时间的偏移(以分钟为单位)
Bias = .RegRead("HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\ActiveTimeBias")
End With
With CreateObject("Microsoft.XMLHTTP")
dtBegin = Now()
.Open "POST", Url, False
.Send
If Err.Number = 0 Then
dtGMT = Split(Replace(.getResponseHeader("Date"), " GMT", ""), ",")(1)
If IsDate(dtGMT) Then
dtLocal = DateAdd("n", -CLng(Bias), CDate(dtGMT)) '北京时间:GMT+8
dtLocal = DateAdd("s", DateDiff("s", dtBegin, Now()), dtLocal) '时间损耗
GetNetTime = dtLocal
End If
End If
End With
End Function


'************************************************************************
'设定电脑的时间
'************************************************************************
Function SetDateTime(ByVal dt1)
Dim WmiService, ComputerName, OSList, OSEnum, OS, DateTime
ComputerName = "."
Set WmiService = GetObject("winmgmts:{impersonationLevel=impersonate, (Systemtime)}!//" + ComputerName + "/root/cimv2")
Set OSList = WmiService.InstancesOf ("Win32_OperatingSystem")
Set DateTime = CreateObject("WbemScripting.SWbemDateTime")
For Each OSEnum In OSList
DateTime.Value = OSEnum.LocalDateTime
DateTime.Year = Year(dt1)
DateTime.Month = Month(dt1)
DateTime.Day = Day(dt1)
DateTime.Hours = Hour(dt1)
DateTime.Minutes = Minute(dt1)
DateTime.Seconds = Second(dt1)
If (OSEnum.SetDateTime(DateTime.Value) <> 0) Then
'WScript.Echo "警告:设置系统时间失败!"
SetDateTime = False
Else
'WScript.Echo "提示:设置成功。当前时间:" & DateTime.GetVarDate()
SetDateTime = True
End If
Next
End Function


'************************************************************************
'初始化 RunAsAdminX64 For Win10 x64
'************************************************************************
Function RunAsAdminX64()
Dim wso, fso, dwx, sSFN, sSD32, sSF32, vArg, sArgs, oShell, sDWX
Set wso = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.filesystemobject")
RunAsAdminX64 = False
'获取 WSH 参数
For Each vArg In WScript.Arguments
sArgs = sArgs & " " & """" & vArg & """"
Next
'获取 32 位 WSH 目录
sSFN = fso.GetFile(WScript.FullName).Name
sSD32 = wso.ExpandenVironmentStrings("%windir%\SysWOW64")
If Not fso.FileExists(sSD32 & "\" & sSFN ) Then
sSD32 = wso.ExpandenVironmentStrings("%windir%\System32")
End If
'以 32 位 WSH 运行
If UCase(WScript.FullName) <> UCase(sSD32 & "\" & sSFN) Then
wso.Run sSD32 & "\" & sSFN & " """ & WScript.ScriptFullName & """" & sArgs, 1, False
WScript.Quit
End If
'以管理员权限运行 WSH
If Not WScript.Arguments.Named.Exists("ADMIN") Then
Set oShell = CreateObject("Shell.Application")
oShell.ShellExecute WScript.FullName, """" & WScript.ScriptFullName & """ " & sArgs & " /ADMIN:1 ", "", "runas", 6
WScript.Quit
End If
End Function
@MeteorVIP win 下改一下注册表就可以了调成 utc 时间
88 天前
回复了 bugmaker1024 创建的主题 iOS ios17 用哪个版本养老比较好?
17.3 ,之前的版本会烧屏
88 天前
回复了 DIMOJANG 创建的主题 Apple 关于 Apple 设备加密各个部件的不成熟猜想
那有锁机都不能用了吧?建议学学索尼,不是正品直接拒绝执行开机流程,或者开机后两分钟提示非正品部件,直接自动关机即可。
s3.4.5 蜂窝版,6.没遇到问题,目前在用 9
90 天前
回复了 Leofits 创建的主题 iOS ios17 哪个版本适合养老?
117.3
90 天前
回复了 hello202311 创建的主题 生活 家里的老人投资理财被骗了 4 次
把他们的钱拿过来,你给存着,按月给生活费
高速不能用防滑链,不让上高速,可以把防滑链放车里,上下高速前,自己拆装
90 天前
回复了 nmap 创建的主题 Android 2024 年求可以 root 的安卓手机推荐
@lyxxxh2 ios ,Windows 不是都可以抓吗?装个 fillder ?
@TenProX 好用
90 天前
回复了 yjcn 创建的主题 iOS ios 上电报和小火箭配合使用问题
90 天前
回复了 Elaina 创建的主题 iOS 关于 iOS17.2 音量自动调大的 BUG
检查下是不是手表,或者是不是某些 app 调整的
90 天前
回复了 courope 创建的主题 分享发现 中奖了金拱门微信红包,开心
卧槽,中了八万多,羡慕
92 天前
回复了 lemoon 创建的主题 问与答 有什么好用的邮件客户端推荐?
全部转发到一个邮箱里比如 qq ,从 qq 添加到系统邮件帐户
1 ... 2  3  4  5  6  7  8  9  10  11 ... 87  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3849 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 43ms · UTC 10:24 · PVG 18:24 · LAX 03:24 · JFK 06:24
Developed with CodeLauncher
♥ Do have faith in what you're doing.