How to use idate in PHP

This article describe about idate() function in PHP.
  • 2274

idate() function

For format a local time and date as integer idate() function use.

Syntax

idate(format, timestamp)

 

Example

 

<html>
<body>
<?php
echo(idate("Y"));
?>
</body>
</html>

 

Output


pic6.jpg

You may also want to read these related articles Click here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.