Jump to content

[SOLVED] Problem with date function


johne281

Recommended Posts

Hi i input this code:

 

<html>
   
        <head>
            <title>Bob's Auto Parts - Order Results</title>
        </head>
    <body>
    <h1>Bob's Auto Parts</h1>
    <h2>Order Results</h2>
    <?php
        echo "<p>Order processed at ".date('H:i, js F Y'). "</p>";
    ?>
  </body>  
</html>

Everything came out ok except the "s" part. It says the 217 of August instead of the 2nd of August. Do you know what would cause such an error?

 

Link to comment
https://forums.phpfreaks.com/topic/168503-solved-problem-with-date-function/
Share on other sites

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.