php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "date_format"

How can the use of the DATE_FORMAT function in SQL queries help in retrieving formatted dates for display in PHP applications?

When retrieving dates from a database in SQL queries for display in PHP applications, the DATE_FORMAT function can be used to format the dates in a sp...

What are the potential benefits of using IntlDateFormatter::format over date_format() in PHP for date/time formatting?

When formatting dates and times in PHP, using IntlDateFormatter::format over date_format() can provide benefits such as improved support for internati...

How can PHP developers utilize the date_format function in MySQL to manipulate and format time data for display purposes?

PHP developers can utilize the date_format function in MySQL to manipulate and format time data for display purposes by using it in their SQL queries...

How does the DATE_FORMAT() function differ in SQL and PHP contexts?

The DATE_FORMAT() function in SQL is used to format dates in a specific way, while in PHP, it is used to format date strings. The syntax and parameter...

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

Showing 31 to 35 of 227 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 45 46 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.