php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "sorting dates"

How does MySQL interpret the result of DATE_FORMAT when sorting dates?

When sorting dates in MySQL that have been formatted using DATE_FORMAT, MySQL will interpret the dates as strings rather than actual dates. This can l...

What are some best practices for sorting and displaying dates in PHP?

When sorting and displaying dates in PHP, it is important to use the correct date format and sorting method to ensure accurate results. One best pract...

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...

What are some common pitfalls when sorting dates in PHP without using "time()"?

When sorting dates in PHP without using "time()", a common pitfall is that dates are compared as strings rather than as actual date values. This can l...

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...

Showing 1 to 5 of 6271 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1254 1255 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.