How to display date time in real time
| Published on 10/8/2007 by Site Editor More articles in PHP
|
In this code sample we will take a look at how to display date or time in our HTML pages. In PHP date() function can be used for to display in different ways. Lat's see our sample. PHP Code on our pages : ("F j, Y, g:i a"); ?> Output 2006-08-28 Wed Aug 28 10:57:47 CDT 2006 10:57:47 August 30, 2006, 10:57 pm Happy Coding |
no comments submitted
Latest Posts
- How to Create an Image in PHP
- How to Prevent Email Injection in Your PHP Form to Mail Scripts
- Writing Your First PHP Script: Feedback Form Script
- Creating a Simple PHP Cache Script
- How to write a simple scraper in PHP without Regex
- PHP cURL functions tutorial
- Submitting forms using PHP cURL
- Two way encryption
- How to Add Data in a MySQL table
- PHP Nested Loop Tutorial
- Image manipulation and watermarking in PHP with GD2
- Making A Cool Login System With PHP, MySQL & jQuery
- Build a customizable RSS feed aggregator in PHP
- Custom RSS 2.0 Content Feeds using OOP
- PHP Development: Getting Started
- How to Count all elements in an array
- Making A Cool Login System With PHP, MySQL & jQuery



