by Example
Display the drop-down list
Configuration of idate()
<?php
/**
* PHP By Example
*
* @copyright 2014 Michel Corne
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU GPL v3
*/
require_once 'functions/s/strftime.php';
/**
* Function configuration
*
* @see docs/function-configuration.txt
*/
class idate extends strftime
{
public $examples = [
[
'time' => "1st January 2004",
"y",
'$timestamp',
],
];
public $synopsis = 'int idate ( string $format [, int $timestamp = time() ] )';
}
Help
Misc
Config
Test
Unit test
Powered by
PHP 7.1.33 (0.03 s)
2014-2017 Michel Corne