MCPcopy Create free account
hub / github.com/Effect-TS/effect / fromDos

Function fromDos

packages/effect/src/encoding/Zip.ts:808–816  ·  view source on GitHub ↗
(time: number, date: number)

Source from the content-addressed store, hash-verified

806}
807
808const fromDos = (time: number, date: number): number =>
809 Date.UTC(
810 (date >> 9) + 1980,
811 ((date >> 5) & 0xf) - 1,
812 date & 0x1f,
813 time >> 11,
814 (time >> 5) & 0x3f,
815 (time & 0x1f) * 2
816 )
817
818const CP437 = "ÇüéâäàåçêëèïîìÄÅ" +
819 "ÉæÆôöòûùÿÖÜ¢£¥₧ƒ" +

Callers 1

parseLocalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected