How can I get the full name of the day of the week in PHP like Monday or Friday?
Asked
Active
Viewed 50 times
-1
Emil Engler
- 407
- 5
- 13
1 Answers
1
Emil Engler
- 407
- 5
- 13
zod
- 11,702
- 23
- 66
- 104
-
'N' is the numeric representation of the day (1-7), it should be 'D' instead – Joffrey Schmitz Apr 30 '19 at 19:46
-
@JoffreySchmitz Yep 1 (for Monday) through 7 (for Sunday) – zod May 01 '19 at 14:20