Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. Definition and Usage. The date () function formats a local date and time, and returns the formatted date string. Syntax. date (format, timestamp) Parameter Values. Technical Details. PHP Date/Time Reference. W3schools Pathfinder. Log in Sign Up.

  2. date. (PHP 4, PHP 5, PHP 7, PHP 8) date — Format a Unix timestamp. Description ¶. date (string $format, ? int $timestamp = null): string. Returns a string formatted according to the given format string using the given integer timestamp (Unix timestamp) or the current time if no timestamp is given.

  3. Learn how to use the PHP date() function to format, get, and create dates and times. See examples, syntax, parameters, and tips for different time zones and formats.

  4. Learn how to use the PHP date () function to format and display the current date and time, or a specified timestamp, on a webpage. See examples, format codes, and tips for working with dates and times in PHP.

  5. www.w3docs.com › learn-php › dateDate()

    3 mar 2023 · PHP provides a variety of built-in functions for working with dates, including date(), time(), and strtotime(). These functions allow you to format and manipulate dates in a variety of ways, including changing the format of the date, adding or subtracting time from a date, and more.

  6. DateTime::setTime — Sets the time. DateTime::setTimestamp — Sets the date and time based on an Unix timestamp. DateTime::setTimezone — Sets the time zone for the DateTime object. DateTime::sub — Subtracts an amount of days, months, years, hours, minutes and seconds from a DateTime object.

  7. Date/Time Arithmetic. DateTime — The DateTime class. DateTime::add — Modifies a DateTime object, with added amount of days, months, years, hours, minutes and seconds. DateTime::__construct — Returns new DateTime object. DateTime::createFromFormat — Parses a time string according to a specified format.

  1. Ludzie szukają również