Web Hosting Choice for your web host

A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web host can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation.

Web Hosting Choice is a free research guide to help users choose the right web host for their personal or business site. Our focus is on providing a simple, easy to follow web site to help users choose the best web hosting plan most suitable for a small site or for a large e-commerce web site.

You can find more web hosting plan at web hosting choice. You can compare one hosting with others, it’s price, disk space, added domain, Data Transfer, and more.

PHP Date format

For create date at PHP we use The PHP Date() Function

The PHP date() function formats a timestamp to a more readable date and time

date(“format”)

Format Parameter :

Parameter Description
a for “am” or “pm”
A “AM” or “PM”
d The day of the month (01-31)
D Name of day, start from Sunday, just 3 char, ex : “Fri”
m The current month, as a number (01-12)
F Name of month, full word, like “January”
M name of month, just 3 char, like “Feb”
n The current month, as a number, without “0″( 1-12 )
Y The current year in four digits, like : 2008
y The current year in two digits, like : 08

Using at PHP Code :

<html>
<body>
<?php
echo date(“Y/m/d”);
echo “<br />”;
echo date(“Y.m.d”);
echo “<br />”;
echo date(“y-m-d”);
echo “<br />”;
echo “today is “. date(“F d, Y”);
?>
</body>
</html>

And output will shown like this ( If today is 2008/05/03)

2008/05/03
2008.05.03
08-05-03
today is May 03, 2008