News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

PHP Date() Function

Started by sajiv, Sep 03, 2008, 07:17 PM

Previous topic - Next topic

sajiv


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

Syntax
date(format,timestamp)

Parameter   :   Description
format           :   Required. Specifies the format of the timestamp
timestamp   :   Optional. Specifies a timestamp. Default is the current date and time (as a timestamp)

:acumen