Date Functions In AFC
The supported date functions are shown by example below:
| A | B | C | D | E |
6 | 39447.0 | =DATE( C6, D6, E6 ) | 2007.0 | 12.0 | 31.0 | |
7 | 22383.0 | ... | 1961.0 | 4.0 | 12.0 | |
8 | 2713.0 | ... | 7.0 | 6.0 | 5.0 | |
9 | 38356.0 | ... | 2003.0 | 23.0 | 65.0 | |
10 | 39040.0 | ... | 2008.0 | -10.0 | -73.0 | |
11 | 689706.0 | ... | 1888.0 | 5.0 | 6.0 | |
| A | B | C | D | E |
13 | 2:03:04.000 | =TIME( C13, D13, E13 ) | 2.0 | 3.0 | 4.0 | |
14 | 16:55:59.000 | ... | 16.0 | 55.0 | 59.0 | |
15 | 16:19:16.000 | ... | 39.0 | 78.0 | 76.0 | |
16 | 23:33:20.000 | ... | 100.0 | -200.0 | -4000.0 | |
| A | B | C |
18 | 45.0 | =SECOND( C18 ) | 12:30:45.000 | |
19 | 0.0 | ... | 35222.5 | |
20 | 59.0 | ... | 3653.999988425926 | |
21 | 59.0 | ... | 3653.999994 | |
22 | 0.0 | ... | 3653.999995 | |
| A | B | C |
24 | 30.0 | =MINUTE( C24 ) | 12:30:45.000 | |
25 | 0.0 | ... | 35222.5 | |
26 | 59.0 | ... | 3653.999988425926 | |
27 | 59.0 | ... | 3653.999994 | |
28 | 0.0 | ... | 3653.999995 | |
| A | B | C |
30 | 12.0 | =HOUR( C30 ) | 12:30:45.000 | |
31 | 12.0 | ... | 35222.5 | |
32 | 23.0 | ... | 3653.999988425926 | |
33 | 23.0 | ... | 3653.999994 | |
34 | 0.0 | ... | 3653.999995 | |
| A | B | C | D |
36 | 7.0 | =WEEKDAY( C36 ) | 39452.0 | |
37 | 1.0 | ... | 39453.0 | |
38 | 7.0 | =WEEKDAY( C38, D38 ) | 39452.0 | 1.0 | |
39 | 1.0 | ... | 39453.0 | 1.0 | |
40 | 7.0 | ... | 39453.0 | 2.0 | |
41 | 1.0 | ... | 39454.0 | 2.0 | |
42 | 6.0 | ... | 39453.0 | 3.0 | |
43 | 0.0 | ... | 39454.0 | 3.0 | |
44 | !FE | ... | 39454.0 | 0.0 | | Excel says: #NUM! |
45 | !FE | ... | 39454.0 | 4.0 | | Excel says: #NUM! |
| A | B | C |
47 | 1.0 | =DAY( C47 ) | 40179.0 | |
48 | 6.0 | ... | 35222.5 | |
49 | 31.0 | ... | 3653.0 | |
50 | 4.0 | ... | 4.0 | |
| A | B | C |
56 | 2010.0 | =YEAR( C56 ) | 40179.0 | |
57 | 1996.0 | ... | 35222.5 | |
58 | 1909.0 | ... | 3653.0 | |
| A | B | C | D | E |
60 | 1095.0 | =DAYS360( C60, D60 ) | 35222.0 | 36332.0 | |
61 | 3600.0 | =DAYS360( C61, D61 ) | 7305.999363425926 | 10958.561805555555 | |
62 | -331.0 | ... | 39788.0 | 39452.0 | |
63 | 331.0 | ... | 39452.0 | 39788.0 | |
64 | 180.0 | ... | 34758.0 | 34942.0 | |
65 | 180.0 | ... | 35124.0 | 35308.0 | |
66 | 60.0 | ... | 35094.0 | 35155.0 | |
67 | 60.0 | ... | 35095.0 | 35155.0 | |
69 | 182.0 | =DAYS360( C69, D69, E69 ) | 34758.0 | 34942.0 | true | |
70 | 180.0 | ... | 34758.0 | 34942.0 | false | |
71 | 181.0 | ... | 35124.0 | 35308.0 | true | |