Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Win32::Registry.wtime2time
wtime2time(wtime)
ext/win32/lib/win32/registry.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ext/win32/lib/win32/registry.rb, line 402
def self.wtime2time(wtime)
Time.at((wtime - 116444736000000000) / 10000000)
end
Convert 64-bit FILETIME integer into Time object.