php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "timestamp updates"

How can a timestamp be converted into a date in PHP?

To convert a timestamp into a date in PHP, you can use the date() function along with the timestamp value and the desired date format. This function t...

How can PHP be used to automatically timestamp posts in a forum?

To automatically timestamp posts in a forum using PHP, you can use the `date()` function to generate the current timestamp when a post is submitted. T...

How can I convert a date into a timestamp in PHP?

To convert a date into a timestamp in PHP, you can use the strtotime() function. This function will parse the date and return a Unix timestamp represe...

How can the database table be formatted to automatically write the insert timestamp?

To automatically write the insert timestamp in a database table, you can set a default value of CURRENT_TIMESTAMP for the timestamp column in the tabl...

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...

Showing 41 to 45 of 5328 results

‹ 1 2 ... 6 7 8 9 10 11 12 ... 1065 1066 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.