Home Answers Viewqa PHP PHP idate() Function

 
 


Nadeem Kumar
PHP idate() Function
1 Answer(s)      2 years and 3 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,

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

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.