get_day_names($day_type = '')
Parameters:
$day_type (string) – ‘long’, ‘short’, or ‘abr’ Returns:
Array of day names Return type:
array
Returns an array of day names (Sunday, Monday, etc.) based on the type provided. Options: long, short, abr. If no $day_type is provided (or if an invalid type is provided) this method will return the “abbreviated” style.