php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "format"

How can timestamps in a specific format be converted to a different format in PHP?

To convert timestamps in a specific format to a different format in PHP, you can use the `DateTime` class to parse the timestamp in the original forma...

How can PHP developers format dates in a specific language and custom format?

To format dates in a specific language and custom format in PHP, developers can use the setlocale() function to set the desired language and the strft...

How can the date format be converted to ISO format for better comparison in PHP?

When comparing dates in PHP, it's often helpful to convert them to a standard format like ISO format (YYYY-MM-DD) for easier comparison. To convert a...

What is the best method to convert a German date format to an English date format using PHP?

To convert a German date format (dd.mm.yyyy) to an English date format (mm/dd/yyyy) using PHP, you can use the date_create_from_format() and date_form...

How does the DateTime class in PHP handle date conversions from DD.MM.YYYY format to YYYY-MM-DD format?

When converting a date from DD.MM.YYYY format to YYYY-MM-DD format using the DateTime class in PHP, you can use the DateTime::createFromFormat() metho...

Showing 1 to 5 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.