php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "strtotime"

How can PHP be used to subtract a month from the current date for database queries?

When working with database queries that involve date calculations, such as subtracting a month from the current date, PHP's date and time functions ca...

What is the difference between the format required by DateTime::COOKIE and the format required by setcookie in PHP?

The main difference between the format required by DateTime::COOKIE and the format required by setcookie in PHP is that DateTime::COOKIE returns a str...

What is the best method to compare the date of password change with the current date in PHP without using SQL queries?

To compare the date of password change with the current date in PHP without using SQL queries, you can use PHP's built-in date functions to calculate...

What are some best practices for storing and retrieving date and time data in a database using PHP?

When storing date and time data in a database using PHP, it is recommended to use the DATETIME data type in MySQL to ensure accurate storage and retri...

In terms of PHP development, what other common sorting or filtering techniques should be considered when working with date-based data?

When working with date-based data in PHP development, it is common to need to sort or filter the data based on specific criteria such as date ranges o...

Showing 1246 to 1250 of 1252 results

‹ 1 2 ... 242 243 244 245 246 247 248 249 250 251 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.