php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "time function"

What function can be used to format date and time in PHP?

To format date and time in PHP, you can use the date() function. This function allows you to specify a format string that defines how the date and tim...

Why is the date() function not suitable for displaying time intervals in PHP?

The date() function in PHP is not suitable for displaying time intervals because it is designed to format a specific date and time, not calculate time...

What potential issues can arise when using the date() function in PHP to format date and time?

One potential issue that can arise when using the date() function in PHP to format date and time is that it may not display the correct time zone. To...

How can a PHP function be delayed for a specific amount of time?

To delay a PHP function for a specific amount of time, you can use the `sleep()` function. This function pauses the execution of the script for the sp...

What does the NOW() function in PHP return and how is it related to server time?

The NOW() function in PHP returns the current date and time in the format "YYYY-MM-DD HH:MM:SS". This function is related to the server time because i...

Showing 16 to 20 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.