PHP Code to display today's date in dd-mm-yy format

PHP Code:

<!DOCTYPE html>
<html>
    <body>
        <h3>Php Code to display today's date in dd-mm-yy format.</h2>
        <?php
            echo "<h3>dd-mm-yy</h3>";
            echo "<h3>", date('d - m - Y') ,"</h3>";
        ?> 
    </body>
</html>

Output:

Comments

Popular posts from this blog

PHP Code to print first 10 Fibonacci Numbers

Create a simple HTML page to demonstrate the use of different tags

Use Tables to provide layout to your web page.