krushinfo
Member
Posted 6 years ago #
Hey
I know how to output the date:
<?php the_time('l, F jS, Y') ?>
e.g. for the just the month I would use:
<?php the_time('F') ?>
But does anyone know how to shorten the months, as I dont have much room for it in full.
e.g. December shortened to DEC
Here's a quick reference: http://us3.php.net/date
Did you see this (you could click for it from your admin panel) http://php.net/date
krushinfo
Member
Posted 6 years ago #
Cheers thats awesome.. it was M..
If anyone knows how to make it all caps that would be nice but tbh im just glad ive got it down to 3 chars