Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP PHP idate() Function
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


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

 

 

DMCA.com