Skip to content

Instantly share code, notes, and snippets.

@ferditarakci
Last active October 13, 2022 17:17
Show Gist options
  • Save ferditarakci/61ba88b843d5204ddd0d3177f905e629 to your computer and use it in GitHub Desktop.
Save ferditarakci/61ba88b843d5204ddd0d3177f905e629 to your computer and use it in GitHub Desktop.
echo dateDayFormat("today", "tr") // "2022-10-13"
// Output: 13, 14 ve 15 Ekim 2022
// -----------------------------------------
echo dateDayFormat("2022-12-30", "tr")
// Output: 30, 31 Aralık 2022 ve 1 Ocak 2023
// -----------------------------------------
echo dateDayFormat("today") // "2022-10-13"
// Output: 13, 14 ve 15 October 2022
// -----------------------------------------
echo dateDayFormat("2022-12-30")
// Output: 30, 31 December 2022 ve 1 January 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment