Strftime creates first letter (uppercase) in PHP
5 answers
:
strftime('<span style="text-transform: capitalize;">%Y %B %e, %A</span>')
echo '<span style="text-transform: capitalize;">' . strftime('%Y %B %e, %A') . '</span>';
This way you can choose which words to use. In your case it ucwordsworks, I think, since you want all your words to start with an uppercase.
0