PHP idate() Function

Hi,

Can anybody suggest me or provide online help related to PHP idate() Function. I waiting for your valuable suggestion.

Thanks,

View Answers

February 10, 2011 at 10:54 AM

Hi,

The idate() Function in PHP will returns a string formatted according to the format string using the integer timestamp or the current time if no timestamp is given.

Syntax of PHP idate() Function :...

int idate ( string $format [, int $timestamp= time() ] )

Example:

<?php
echo(idate("Y"));
?>









Related Tutorials/Questions & Answers: