[ nip >integer ]
[ - 1000 * >integer ] 2bi
]
- } cleave \ SYSTEMTIME <struct-boa> ;
+ } cleave \ SYSTEMTIME boa ;
: SYSTEMTIME>timestamp ( SYSTEMTIME -- timestamp )
{
} cleave instant <timestamp> ;
M: windows gmt-offset
- TIME_ZONE_INFORMATION <struct>
+ TIME_ZONE_INFORMATION new
dup GetTimeZoneInformation {
{ TIME_ZONE_ID_INVALID [ win32-error ] }
{ TIME_ZONE_ID_UNKNOWN [ Bias>> ] }
} case neg 60 /mod 0 ;
M: windows now-gmt
- SYSTEMTIME <struct> [ GetSystemTime ] keep SYSTEMTIME>timestamp ;
+ SYSTEMTIME new [ GetSystemTime ] keep SYSTEMTIME>timestamp ;