0% found this document useful (0 votes)
43 views

Date and Time Functions Solved

Uploaded by

jainrucheeta179
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Date and Time Functions Solved

Uploaded by

jainrucheeta179
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 12

DATE Functions

Today's Date Formula


4/13/2024 Today()

Now Formula
4/13/2024 4:50 NOW()

Shortcut Key
Date ctrl+;
time ctrl+:
Ctrl+Shift+;

Dates short Date Format Serial Number


Date 1 02/02/1902 44562
Date 2 10/6/2020 43992

Date Day Formula


6/15/2020 15 DAY(A18)
### 15 DAY(A19)
2020/06/15 15 DAY(A20)
### 15 DAY(A21)

Date Month Formula


6/15/2020 6 Month(A24)
### 6 Month(A25)
2020/06/15 6 Month(A26)
### 6 Month(A27)

Date Year Formula


6/15/2020 2020 year(A30)
### 2020 year(A31)
2020/06/15 2020 year(A32)
### 2020 year(A33)

Date Week Number Formula


6/15/2022 25 WEEKNUM(A36)
### 24 weeknum(A37,12)

Date Week Day Formula


6/15/2020 2 weekday(A40)
### 1 weekday(A41,2)
2020/06/15 6 weekday(A42,13)
### 4 weekday(A43,15)

Birth Date (Start Date)


Today Date (End Date) Age
6/5/1998 4/13/2024 25
6/5/1998 4/13/2024 310
6/5/1998 4/13/2024 9444
6/5/1998 4/13/2024 8
6/5/1998 4/13/2024 10
6/5/1998 4/13/2024 313
1/8/2002 12/2/2022 328

Date Work Day Holidays


2/14/2019 12/26/2019 11/25/2019
9/27/2019 12/10/2019 12/9/2019
12/6/2018 12/10/2018 12/25/2018

Start Date End Date Holidays Date


12/30/2015 12/31/2015 1/1/2016
12/30/2015 1/4/2016 3/25/2016
3/24/2016 3/29/2016 3/28/2016
3/24/2016 4/4/2016 12/25/2016

Start Date End Date Holidays Date


12/26/2016 12/31/2016 1/1/2016
12/30/2015 1/4/2016 3/25/2016
3/24/2016 3/29/2016 3/28/2016
3/24/2016 4/4/2016 12/25/2016
Year Month Day
2020 5 15
2019 6 6
2017 8 27
2015 12 11

Original Date Add 1 Year Formula


5/15/2020 5/15/2021 DATE(YEAR(A82)+1,MONTH(A82),DAY(A82))
6/6/2019 6/6/2020 DATE(YEAR(A83)+1,MONTH(A83),DAY(A83))
8/27/2017 8/27/2018 DATE(YEAR(A84)+1,MONTH(A84,DAY(A84))
12/11/2015 12/11/2016 DATE(YEAR(A85)+1,MONTH(A85),DAY(A85))

Original Date Add 1 Month Formula


5/15/2020 6/15/2020 DATE(YEAR(A89),MONTH(A89)+1,DAY(A89))
6/6/2019 7/6/2019 DATE(YEAR(A90),MONTH(A90)+1,DAY(A90))
8/27/2017 9/27/2017 DATE(YEAR(A91),MONTH(A91)+1,DAY(A91))
12/11/2015 1/11/2016 DATE(YEAR(A92),MONTH(A92)+1,DAY(A92))

Original Date Add 1 day Formula


5/15/2020 5/16/2020 DATE(YEAR(A96),MONTH(A96),DAY(A96)+1)
6/6/2019 6/7/2019 DATE(YEAR(A97),MONTH(A97),DAY(A97)+1)
8/27/2017 8/28/2017 DATE(YEAR(A98),MONTH(A98),DAY(A98)+1)
12/11/2015 12/12/2015 DATE(YEAR(A99),MONTH(A99),DAY(A99)+1)
Formula
DATEVALUE("1/1/1900")
DATEVALUE("10/06/2020")
Formula
DATEDIF(A47,B47,"Y")
DATEDIF(A48,B48,"M")
DATEDIF(A49, B49,"D")
DATEDIF(A50,B50,"MD")
DATEDIF(A51,B51,"YM")
DATEDIF(A52,B52,"YD")

Formula
workdays(A56,225)
workday(A57,50,C56:C58)
WORKDAY(A58,2,C56:C59)

No. of Net working day


2
3
2
6

No. of Net working day(Intl)


5
4
3
7
Date
5/15/2020
6/6/2019
8/27/2017
12/11/2015

Add 1 Month
6/15/2020
7/6/2019
9/27/2017
1/11/2016
by default year starts in excel from 1900 1900 1
44896 1901 2
Y - Return number of complete years between dates
M - Returns number of complete months between dates
D - Return number of days between dates
MD - Ignore months and year & return Number of days
YM - Ignore days and years & return number of months
YD - Ignores only years & return number of Days

it will add more 225 days, jitne din humko kaam krna h
it wincludes weekends also

Formula
NETWORKDAYS(A62,B62,$C$62:$C$65)
NETWORKDAYS(A63,B63,$C$62:$C$65) it will only take sat and sun off.
NETWORKDAYS(A64,B64,$C$62:$C$65)
NETWORKDAYS(A65,B65,$C$62:$C$65)

Formula
NETWORKDAYS.INTL(A69,B69,1,$C$69:$C$72)
it can take any day off seither starting from Sunday or Monday.
NETWORKDAYS.INTL(A70,B70,1,$C$69:$C$72)
NETWORKDAYS.INTL(A71,B71,1,$C$69:$C$72)
NETWORKDAYS.INTL(A72,B72,1,$C$69:$C$72)
Formula
date(A75,B75,C75)
date(A76,B76,C76)
date(A77,B77,C77)
date(A78,B78,C78)

Formula
EDATE(A89,1)
EDATE(A90,1)
EDATE(A91,1)
EDATE(A92,1)
Sunday or Monday.
TIME Functions
Time Formula
04:50:38 AM Now()-Today()

Time Seconds Formula


11:41:54 AM 54 SECOND(A7)

Time Minutes Formula


11:41:54 AM 41 Minute(A10)

Time Hours Formula


11:41:54 AM 11 HOUR(A13)
04:27:19 PM 4 (HOUR(A14))-12
Enter your date of birth 8/29/1983
Enter Employee Name Aakash Yadav

Age Calculator
Year 40 40
Month 7 it counts extra months from birthdate of this year
Day 15

Generate Statement

The employee Aakash Yadav is 40 Years 7 Months


and 15 days old

You might also like