php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "datetime."

What are the advantages of using DateTime object in PHP for date calculations?

When working with dates in PHP, using the DateTime object provides several advantages over traditional date functions. DateTime allows for easier mani...

What are some common errors that may occur when passing a DateTime string from PHP to MySQL?

One common error when passing a DateTime string from PHP to MySQL is not formatting the DateTime string correctly. MySQL expects dates in the format '...

How can DateTime objects be used effectively in PHP for date calculations?

When working with date calculations in PHP, using DateTime objects can provide a more flexible and reliable way to manipulate dates and times. DateTim...

How can the DateTime function be used effectively in PHP for date manipulation?

The DateTime function in PHP can be used effectively for date manipulation by creating a DateTime object with the desired date and time, then using va...

How can PHP functions be used to extract and format specific parts of a datetime value for display?

When working with datetime values in PHP, you can use built-in functions like date() to extract and format specific parts of the datetime value for di...

Showing 31 to 35 of 2664 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 532 533 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.