You are on page 1of 1

A B C D

1 Date and Time Functions


2 Starting Date Ending Date
3 12-March-1991 18-May-2022
4
5 Age in Year 31 =DATEDIF(A5,B5,"y")
6 Age after Deducting Year 2 =DATEDIF(A5,B5,"ym")

Age after Deducting Year and Month 6 =DATEDIF(A5,B5,"md")


7
8 Age in Month 374 =DATEDIF(A5,B5,"m")
9 Age in Day 11390 =DATEDIF(A5,B5,"d")

Total Days (if a Month have 30 days) 11226 =DAYS360(A5,B5)


10
11 Day 12 =DAY(A5)
12 Month 3 =MONTH(A5)
13 Year 1991 =YEAR(A5)
14 Day (in Week Name) Tuesday =TEXT(A5,"dddd")

Day (in Week Name short) Tue =TEXT(A5,"ddd")


15
16 Month (in Week Name ) March =TEXT(A5,"mmmm")

Month (in Week Name short) March =TEXT(A5,"mmmm")


17
18 Current Date and Time 22-Feb-2023 8:39 AM =NOW()
19 Current Date 22-February-2023 =TODAY()

Difference between two Date in Floating 31.18333333 =YEARFRAC(A5,B5)


20

8137 =NETWORKDAYS(A5,B5)
21 Total Work Days With Saturday and Sunday Holiday
22 Total Work Days With Sunday Holiday 9764 =NETWORKDAYS.INTL(A5,B5,11)
23 Holiday
24 12-May-22
25 13-May-22
26 17-May-22
Total Work Days With Saturday, Sunday and Holiday
dates =NETWORKDAYS(A5,B5,C26:C28)
27 8134
28 Total Work Days With Sunday and Holiday dates 9761 =NETWORKDAYS.INTL(A5,B5,11,C26:C28)
29 Working Date With Saturday and Sunday Holiday 08-June-2022 =WORKDAY(B5,15)
30 Working Date With Sunday Holiday 04-June-2022 =WORKDAY.INTL(B5,15,11)
31 Holiday
32 20-May-22
33 25-May-22
34 27-May-22
Total Work Days With Saturday, Sunday and Holiday
dates 13-June-2022 =WORKDAY(B5,15,C34:C36)
35
Total Work Days With Saturday, Sunday and Holiday
dates 08-June-2022 =WORKDAY.INTL(B5,15,11,C34:C36)
36
37 Weekday 3 3
38 Weeknum 11 11
39 Add Month in a Date Show Same day of Date 18-October-2022 =EDATE(B5,5)
40 Add Month in a Date Show Last Date of Month 31-October-2022 =EOMONTH(B5,5)
41 Insert Date 18-May-2022 =DATE(2022,5,18)
42 Insert Time 8:21 AM =TIME(8,21,27)
43 Show Hour 8 =HOUR(B44)
44 Show Minute 21 =MINUTE(B44)
45 Show Second 27 =SECOND(B44)

You might also like