Jump to content

How Do You Take The Zero Off Please?


_Chris

Recommended Posts

I have been working on this:

<?php

date_default_timezone_set('GMT');

#echo date("l, \\t\h\e jS of F, Y");

echo date('l, \\t\h\e dS \of F, Y', strtotime('-2 weekdays')); ?>

But, it comes out as :

Wednesday, the 05th of December, 2012

Is there any way of the 0 in the 05th being omitted please?

 

Any help appreciated.

 

Chris

Link to comment
https://forums.phpfreaks.com/topic/271742-how-do-you-take-the-zero-off-please/
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.