the_time() function will not capitalize
-
I would like to display the month in uppercase letters. I figured the easiest way to do that would be to use “strtoupper()” Here’s what I’ve got running in the index.php template:
<?php
$tempdate = the_time(‘F’);
strtoupper($tempdate);
echo($tempdate);
?>Alternately I’ve tried
<?php
strtoupper(the_time(‘F’));
?>but no dice.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘the_time() function will not capitalize’ is closed to new replies.