php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "Y-m-d"

How can timestamps be formatted to display date and time separately in PHP?

To display date and time separately from a timestamp in PHP, you can use the date() function with the 'Y-m-d' format for the date and the 'H:i:s' form...

Are there any common pitfalls to be aware of when manipulating dates in PHP for database queries?

One common pitfall when manipulating dates in PHP for database queries is not properly formatting the date string before using it in the query. To avo...

Are there any specific PHP functions or methods that can be used to extract and format date components, such as day, month, and year?

To extract and format date components like day, month, and year in PHP, you can use the date() function along with format characters like 'd' for day,...

What is the significance of the timestamp 2147483647 in PHP and how can it be converted to a readable date format?

The timestamp 2147483647 represents the maximum value for a 32-bit signed integer in PHP, which corresponds to the date of January 19, 2038. To conver...

What are the advantages of using SQL functions like date_format(spalte, '%d.%m.%Y') to format dates directly in SQL queries instead of manipulating them in PHP?

When formatting dates in SQL queries using functions like date_format(), it allows for better performance as the date manipulation is done directly in...

Showing 46 to 50 of 577 results

‹ 1 2 ... 7 8 9 10 11 12 13 ... 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.