Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for win32 (0.01 seconds)

  1. src/archive/zip/struct.go

    	}
    	return time.FixedZone("", int(offset/time.Second))
    }
    
    // msDosTimeToTime converts an MS-DOS date and time into a time.Time.
    // The resolution is 2s.
    // See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-dosdatetimetofiletime
    func msDosTimeToTime(dosDate, dosTime uint16) time.Time {
    	return time.Date(
    		// date bits 0-4: day of month; 5-8: month; 9-15: years since 1980
    		int(dosDate>>9+1980),
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue May 28 21:41:09 GMT 2024
    - 12.1K bytes
    - Click Count (0)
Back to Top