PHP » GoLang |
login |
register |
about
|
idate(PHP 5, PHP 7) idate — Format a local time/date as integer Description
int idate
( string
$format
[, int $timestamp = time()
] )
Returns a number formatted according to the given format string using the
given integer
Unlike the function date(), idate()
accepts just one char in the Parameters
Return ValuesReturns an integer. As idate() always returns an integer and as they can't start with a "0", idate() may return fewer digits than you would expect. See the example below. Errors/Exceptions
Every call to a date/time function will generate a Changelog
Examples
Example #1 idate() example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|