-1

How can I get the full name of the day of the week in PHP like Monday or Friday?

Emil Engler
  • 407
  • 5
  • 13

1 Answers1

1

try:

echo date('D, d M Y h:i:s');

https://www.php.net/manual/en/function.date.php

Emil Engler
  • 407
  • 5
  • 13
zod
  • 11,702
  • 23
  • 66
  • 104