1DOSDATETIME(1) User Commands DOSDATETIME(1)
2
3
4
6 dosdatetime - manual page for dosdatetime 2.2.0
7
9 dosdatetime [-opt] <time>
10
12 Where -opt is one or more of:
13 --dec display the result in decimal
14
15 --dos convert a Unix time to a DOS time (default)
16
17 --help display this help screen
18
19 --hex display the result in hexadecimal
20
21 --unix convert a DOS time to a Unix time
22
23 --version
24 print the library version and exit
25
27 to convert a Unix time to a DOS time:
28
29 dosdatetime 956794294
30
31 to convert a DOS time to a Unix time:
32
33 dosdatetime --unix 681216369
34
35 Output: <time entered on command line> <converted time> <date
36 (YYYY/MM/DD)> <time (HH:MM:SS)>
37
38 Note: <converted time> shows -1 if an error occurs
39
40
41
42dosdatetime 2.2.0 January 2022 DOSDATETIME(1)