(unixMs)
| 77 | } |
| 78 | |
| 79 | function unixMsToFileTime(unixMs) { |
| 80 | return (BigInt(unixMs) + BigInt(FILETIME_EPOCH_OFFSET)) * BigInt(10000); |
| 81 | } |
| 82 | |
| 83 | it('已知 FILETIME → Unix 时间 (2024-01-01 00:00:00 UTC)', () => { |
| 84 | // 2024-01-01T00:00:00Z = Unix 1704067200000ms |