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
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
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)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us