php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "end time"

What is the best way to store the end time of an advertisement in a MySQL database using PHP?

When storing the end time of an advertisement in a MySQL database using PHP, it is best to use the DATETIME data type to ensure accurate storage and r...

In what situations would it be advisable to store time durations as separate start and end dates rather than a single value?

Storing time durations as separate start and end dates can be beneficial when you need to perform calculations or comparisons based on the individual...

How can PHP be used to determine the start and end dates of daylight saving time?

To determine the start and end dates of daylight saving time in PHP, you can use the `date()` function along with the `strtotime()` function to calcul...

What are some best practices for formatting and displaying time values in PHP, such as adding "Uhr" to the end of a time string?

When displaying time values in PHP, it is important to format them correctly for readability. One common practice is to add additional text, such as "...

What is the best approach to automatically end sessions after a certain time in PHP?

To automatically end sessions after a certain time in PHP, you can set a session timeout value in the php.ini file or using the session_set_cookie_par...

Showing 6 to 10 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 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.