php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "date_format"

What are the potential pitfalls of using date_format() function in PHP when retrieving data from MSSQL?

When using the date_format() function in PHP to retrieve date data from MSSQL, the function may not work as expected due to differences in date format...

Are there any potential issues or limitations when applying the DATE_FORMAT SQL statement to a TIMESTAMP in PHP?

When applying the DATE_FORMAT SQL statement to a TIMESTAMP in PHP, one potential issue is that the TIMESTAMP may not be formatted correctly according...

What is the significance of using DATE_FORMAT() in a WHERE clause in PHP when querying a database?

When querying a database in PHP, using DATE_FORMAT() in a WHERE clause allows you to compare dates in a specific format. This is useful when your date...

How can PHP be instructed to recognize a string as a timestamp and use date_format to convert the timestamp?

To instruct PHP to recognize a string as a timestamp and use date_format to convert it, you can use the strtotime function to convert the string into...

Are there any best practices for handling date formats in PHP functions like date_format() and date_create()?

When working with date formats in PHP functions like date_format() and date_create(), it's important to ensure that the input date string is in a form...

Showing 11 to 15 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.