php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "timestamp operations"

How can you check if a timestamp is older than 30 minutes in PHP?

To check if a timestamp is older than 30 minutes in PHP, you can compare the timestamp with the current time minus 30 minutes. You can achieve this by...

How can PHP be used to subtract minutes and seconds from a timestamp?

To subtract minutes and seconds from a timestamp in PHP, you can use the DateTime class to manipulate the timestamp. You can create a DateTime object...

How can one easily add a day to a MySQL timestamp variable in PHP?

To add a day to a MySQL timestamp variable in PHP, you can use the strtotime() function to convert the timestamp to a Unix timestamp, add the number o...

What alternative approach can be used to calculate the timestamp for a specific date before the Unix timestamp started in 1970?

Before the Unix timestamp started in 1970, an alternative approach to calculate the timestamp for a specific date is to use a different epoch referenc...

In what situations would it be advisable to code a custom timestamp function in PHP to avoid time synchronization problems with the server?

When dealing with time-sensitive operations in PHP, it may be advisable to code a custom timestamp function to avoid time synchronization problems wit...

Showing 46 to 50 of 10000 results

‹ 1 2 ... 7 8 9 10 11 12 13 ... 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.