php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "Y-m-d"

How can the date() function in PHP be utilized to determine the current date for image manipulation?

To determine the current date for image manipulation using the date() function in PHP, you can use the 'Y-m-d' format to get the date in the year-mont...

What potential pitfalls should be considered when using DateTime::COOKIE with setcookie in PHP?

When using DateTime::COOKIE with setcookie in PHP, it's important to remember that DateTime::COOKIE format includes both the date and time, which may...

What are some common pitfalls to avoid when working with datetime formats and date filtering in PHP and MySQL databases?

One common pitfall when working with datetime formats and date filtering in PHP and MySQL databases is not properly formatting the dates before queryi...

What is the correct format for sorting dates in MySQL queries in PHP?

When sorting dates in MySQL queries in PHP, it is important to use the correct date format to ensure accurate sorting. The recommended date format for...

What role does the format of the date play in sorting dates in PHP?

The format of the date is important when sorting dates in PHP because dates in different formats may not be sorted correctly using standard sorting fu...

Showing 41 to 45 of 577 results

‹ 1 2 ... 6 7 8 9 10 11 12 ... 115 116 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.