php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "year extraction"

How can PHP be used to extract individual day, month, and year values from a date input?

To extract individual day, month, and year values from a date input in PHP, you can use the `date_parse` function to parse the input date string and r...

How can PHP developers efficiently delete records older than a year from a database using PDO?

To efficiently delete records older than a year from a database using PDO, you can use a combination of SQL's DATE_SUB function and PHP's date functio...

How can PHP be used to parse and manipulate date strings to extract only the year?

When working with date strings in PHP, we can use the `DateTime` class to easily parse and manipulate dates. To extract only the year from a date stri...

What is the significance of determining the number of weeks in a year for PHP programming?

Determining the number of weeks in a year is significant for PHP programming when working with date and time calculations, such as scheduling tasks or...

How can mktime be used to calculate Unix times with only the year and week number?

To calculate Unix times with only the year and week number, you can use the mktime function in PHP along with the date function to convert the week nu...

Showing 66 to 70 of 1151 results

‹ 1 2 ... 11 12 13 14 15 16 17 ... 230 231 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.