How To Show Current Date and time Using Php
Heres the code.
CODE
<?php
$date = date([b]F j, o[/b]); //Displays April 25, 2007 (Assuming that is the current date)
$time = date([b]g:i a[/b]); //Displays 4:26 PM (Assuming that is the current time)
echo “Welcome! The date is $date and the time is currently $time.”;
?>
You can change the date and time formats by changing the text in bold above.
Webhosting - 0.99$/Pay monthly 1 GB Space, 5GB BW, Cpanel etcdel.icio.us Digg it Earthlink Furl iFeedReaders ma.gnolia Maple.nu Netvouz Netscape RawSugar reddit Scuttle Shadows Simpy Spurl StumbleUpon Wink Yahoo MyWeb
Checkout the Cheapest Webhosting Plan Ever Created
Webhosting Pay Monthly - 0.99$
Disk Space : 300 MB | Bandwidth : 5000 MB/Month
Update : disk space updated to 1 GB
____________________________________________
Mydosty Yearly Webhosting Plan - 9.99 $
Disk Space 500 MB | Bandwidth7000 Mb/Month
Update : Disk Space updated tp 1.5 GB
____________________________________________
List Of Features Applicable In Both Yearly and Monthly Plan:
- Cpanel
- Php,MySql
- Unlimited Addon Domains
- Unlimited MySql Database
- Unlimited Park Domains
- Unlimited Subdomains
- Unlimited Email Accounts
- Unlimited Ftp Accounts
- FrontPage Extension
- Website Builder
- Scripts Library
- Fantastico
- Web/Ftp Stats
- Hotlink Protection
- Access Logs
- Index Manager
- Ip Deny Manager
- Error Pages
- Cron Jobs
- Apache Handlers
- Mime Types
- Image Manager
- Leech Protect
- Network Tools
Thankyou.
Webhosting - 0.99$/Pay monthly 1 GB Space, 5GB BW, Cpanel etcdel.icio.us Digg it Earthlink Furl iFeedReaders ma.gnolia Maple.nu Netvouz Netscape RawSugar reddit Scuttle Shadows Simpy Spurl StumbleUpon Wink Yahoo MyWeb « Previous Entries Next Entries »















