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

Date Functions

The document discusses various date functions in Excel including TODAY, NOW, DAY, MONTH, YEAR, DATE, EOMONTH, DATEDIF, WEEKDAY, WEEKNUM, and NETWORKDAYS. It provides the syntax and examples for each function, such as TODAY() returns the current date, DAY(date) returns the day component of a date as a number from 1 to 31, and NETWORKDAYS(start_date, end_date) returns the number of workdays between start and end dates.

Uploaded by

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

Date Functions

The document discusses various date functions in Excel including TODAY, NOW, DAY, MONTH, YEAR, DATE, EOMONTH, DATEDIF, WEEKDAY, WEEKNUM, and NETWORKDAYS. It provides the syntax and examples for each function, such as TODAY() returns the current date, DAY(date) returns the day component of a date as a number from 1 to 31, and NETWORKDAYS(start_date, end_date) returns the number of workdays between start and end dates.

Uploaded by

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

TODAY

It returns current date accor


Syntax:
Example:

NOW
It returns current time and c
Syntax:
Example:

DAY
It returns the day of a month
Syntax:
Example:
9/22/2014

MONTH
It returns the month in a giv
Syntax:
Example:
9/22/2014

Year
It returns the year of a given
Syntax:
Example:
9/22/2014

DATE
It returns a number that rep
Syntax:
Example:

EOMONTH
It returns the last day of a gi
Syntax:
Example:
9/22/2014

DATEDIF
It returns the difference betw
Syntax:
Example:
Early date
9/1/2014

WEEKDAY
It returns the day number in
Syntax:
Example:
Date
1/7/2015

WEEKNUM
It returns the Week number
Syntax:
Example:
Date
1/7/2015

NETWORKDAYS
It returns the no of workday
Syntax:
Example:
Strt date
1/1/2015
EXCEL GYAN
Add EXTRA SKILLS TO YOUR PROFESSIONAL CAREER

DATE FUNCTION

DAY
eturns current date according to the system format
TODAY()
9/15/2019

W
eturns current time and current date as per system format
NOW()
9/15/2019 9:31

Y
eturns the day of a month in the given date. Number from 1 to 31
DAY(Serial_number)

22 DAY(I24)

NTH
eturns the month in a given date.Number 1(January) to 12(December)
MONTH(Serial_number)

9 MONTH(I30)

r
eturns the year of a given date.
YEAR(Serial_number)

2014 YEAR(I36)

TE
eturns a number that represents a date.
DATE(Year,Month,Day)
9/22/2014 DATE(2014,9,22)

MONTH
eturns the last day of a given month
EOMONTH(Start_date,Months)

9/30/2014 EOMONTH(I47,0) 0-current month

TEDIF
eturns the difference between two dates
DATEDIF(Early_date,Next_date,diff)

Next date
9/22/2014 21 DATEDIF(I54,J54,"D")

EKDAY
eturns the day number in a week based on the given date
Weekday(Serial_number,[Return Type])

4 WEEKDAY(I61) Note:By default return type takes as 1 i.e.1-sun 2-mon,3-t

EKNUM
eturns the Week number in a Year based on the given date
Weekday(Serial_number,[Return Type])

2 WEEKNUM(I68)

TWORKDAYS
eturns the no of workdays in the given two dates
Weekday(Serial_number,[Return Type])

End date
1/31/2015 22 NETWORKDAYS(I75,J75)
i.e.1-sun 2-mon,3-tue,4-wed,5-thu,6-fri,7-sat

You might also like