php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "date differences"

What are the differences between using date_create_from_format() and strtotime() for date manipulation in PHP?

When manipulating dates in PHP, date_create_from_format() and strtotime() are two commonly used functions. date_create_from_format() allows you to cre...

What potential issues can arise when using the date() function in PHP to handle timestamps?

One potential issue that can arise when using the date() function in PHP to handle timestamps is that it may not account for time zone differences, le...

What are the differences in handling date formatting between MySQL and MSSQL servers in PHP?

When working with date formatting in PHP with MySQL and MSSQL servers, one key difference is the format used for dates. MySQL typically uses the forma...

What are the potential pitfalls of using string comparison for date and time conditions in PHP, as seen in the provided code snippet?

Using string comparison for date and time conditions in PHP can lead to unexpected results due to differences in date formats, timezones, and potentia...

Are there any best practices for handling date calculations in PHP to avoid skipping months or incorrect results?

When handling date calculations in PHP, it is important to consider the differences in days between months, leap years, and daylight saving time chang...

Showing 156 to 160 of 10000 results

‹ 1 2 ... 29 30 31 32 33 34 35 ... 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.