# 2021-12-10
function dateDayFormat($today = 'today', $lang = 'en') {
}
dateDayFormat() OR dateDayFormat('today') OR dateDayFormat("2021-12-10") OR dateDayFormat("10-12-2021")
Output: 10, 11, 12 December 2021
Output: 30 November and 1, 2 December 2021
Output: 30, 31 December 2021 and 1 January 2022
Output: 31 December 2021 and 1, 2 January 2022
dateDayFormat("today", "tr") OR dateDayFormat("2021-12-10", "tr") OR dateDayFormat("10-12-2021", "tr")
Output: 10, 11, 12 Aralık 2021
Output: 30 Kasım ve 1, 2 Aralık 2021
Output: 30, 31 Aralık 2021 ve 1 Ocak 2022
Output: 31 Aralık 2021 ve 1, 2 Ocak 2022