Answers for "excel how to get only day and month from date"

VBA
3

excel get day name from date

sDayName = Format("01/01/2022", "dddd")        		' Saturday
sDayName = Format(Date, "dddd")             		' Tuesday (today...)
sDayName = Format(DateSerial(2022, 5, 24), "dddd")  ' Tuesday
Posted by: Guest on July-06-2021
-1

excel get month from date

# A2 contains '15/09/2021'

# To get month from a date as a STRING
=TEXT(A2, "mm") 			' 9		(string)
=TEXT(A2, "mm") 			' 09	(string)
=TEXT(A2, "mmm") 			' sept
=TEXT(A2, "mmmm") 			' september

# To get month from a date as a NUMBER
=MONTH(DATE(2021,9,15)) 	' 9		(number)
=MONTH(A2) 					' 9		(number)
Posted by: Guest on March-18-2021

Code answers related to "excel how to get only day and month from date"

Code answers related to "VBA"

Browse Popular Code Answers by Language