![]() | idateDescrizioneint idate ( string format [, int timestamp] )Returns a number formatted according to the given format string using the given integer timestamp or the current local time if no timestamp is given. In other words, timestamp is optional and defaults to the value of time(). Unlike the function date(), idate() accepts just one char in the format parameter. Elenco dei parametri
Valori restituitiReturns 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/ExceptionsEvery call to a date/time function will generate a E_NOTICE if the time zone is not valid, and/or a E_STRICT message if using the system settings or the TZ environment variable. See also date_default_timezone_set() | ![]() | ||||||||||||||||||||||||||||||||||||