php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "gmdate()"

What is the difference between using date() and gmdate() in PHP for displaying time?

When displaying time in PHP, the main difference between date() and gmdate() is how they handle time zones. date() uses the server's default time zone...

Are there any potential pitfalls in using gmdate to retrieve system time in PHP scripts?

Using gmdate to retrieve system time in PHP scripts may not account for the server's timezone settings, potentially leading to inaccurate timestamps....

What is the difference between using Date and gmdate functions to handle timestamps in PHP?

When handling timestamps in PHP, the main difference between the Date and gmdate functions is how they handle time zones. Date will use the default ti...

What could be causing the discrepancy in system time when using the gmdate function in PHP?

The discrepancy in system time when using the gmdate function in PHP could be due to the server's timezone settings not being correctly configured. To...

What potential issues can arise when using the date() and gmdate() functions in PHP on a Windows server?

When using the date() and gmdate() functions in PHP on a Windows server, the timezone may not be set correctly, leading to incorrect date and time out...

Showing 1 to 5 of 33 results

‹ 1 2 3 4 5 6 7 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.