]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/time/time.factor
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / basis / windows / time / time.factor
old mode 100755 (executable)
new mode 100644 (file)
index dfe12aa..904c852
@@ -8,8 +8,7 @@ IN: windows.time
 : >64bit ( lo hi -- n )
     32 shift bitor ; inline
 
-: windows-1601 ( -- timestamp )
-    1601 1 1 0 0 0 instant <timestamp> ;
+: windows-1601 ( -- timestamp ) 1601 <year-gmt> ;
 
 : FILETIME>windows-time ( FILETIME -- n )
     [ dwLowDateTime>> ] [ dwHighDateTime>> ] bi >64bit ;