Nadeem Kumar
PHP idate() Function
1 Answer(s)      4 years and 4 months ago
Posted in : PHP

Hi,

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

Thanks,

Advertisement
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: