woom.util.WoomDate.day_name

woom.util.WoomDate.day_name#

WoomDate.day_name(locale=None) str#

Return the day name of the Timestamp with specified locale.

Parameters:

locale (str, default None (English locale)) – Locale determining the language in which to return the day name.

Return type:

str

See also

Timestamp.day_of_week

Return day of the week.

Timestamp.day_of_year

Return day of the year.

Examples

>>> ts = pd.Timestamp('2020-03-14T15:32:52.192548651')
>>> ts.day_name()
'Saturday'

Analogous for pd.NaT:

>>> pd.NaT.day_name()
nan