The document discusses various date functions in Excel including:
- Getting the year, next date, or adding years/months/days from a date using the DATE function.
- Getting the hour, minute, second from a date/time using the TIME function.
- Determining if a date is past, current, or future using IF statements.
- Calculating the difference between dates in days, weeks, years, months, or days ignoring years/months using the DATEDIF function.
- Formulas are provided as examples to implement the various date calculations.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
34 views
Date Functions
The document discusses various date functions in Excel including:
- Getting the year, next date, or adding years/months/days from a date using the DATE function.
- Getting the hour, minute, second from a date/time using the TIME function.
- Determining if a date is past, current, or future using IF statements.
- Calculating the difference between dates in days, weeks, years, months, or days ignoring years/months using the DATEDIF function.
- Formulas are provided as examples to implement the various date calculations.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 6
NOTE : date formate is : mm/dd/yy
Functions of Date
to get Year from Date 11/11/2011 2011
to get next date 11/4/2015 11/5/2015
To add a number of years, months
and/or days, use the DATE function. 1/4/2014 3/6/2015 Current Date And Time 6/7/2017 8:40 Hour, Minute , Second 8:40:52 8 40 52
To add a number of hours,
minutes and/or seconds, use the TIME function. 8:40:52 10:51 AM
to get past date 15-Nov-2016 Past Date
to get current date 16-Nov-2016 Past Date to get Future date 17-Nov-2016 Past Date
to get the number of
days, weeks or years between two dates in Excel, use the DATEDIF function. The DATEDIF function has three arguments. 11/6/2016 10 11/16/2016
Fill in "m" for the third argument to
get the number of months between two dates 9/6/2016 2 11/16/2016
Fill in "yd" for the third argument to
ignore years and get the number of days between two dates. 10/1/2016 61 12/1/2016
. Fill in "y" for the third argument to
get the number of years between two dates. 9/6/2011 5 11/16/2016 Fill in "md" for the third argument to ignore months and get the number of days between two dates. 9/11/2014 5 11/16/2016 Formula (please put = sign at beginning) year() C5+1