Thursday, January 25, 2018

Current Day in PHP

Here is a simple code that I wrote using PHP as my programming language that will get the current day.   The code is very short and easy to understand. I hope you will find my work useful.

I am currently accepting programming and web development work kindly contact me in the following email address for further details. Thank you.

My email address are the following jakerpomperada@gmail.com and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental is (034) 4335675.



Sample Program Output


Program Listing

day.php


<?php

$t=date('d-m-Y');
echo "<h1> Today is " .date("D",strtotime($t))."</h1>";
?>

No comments:

Post a Comment