php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "timestamp"

How can a PHP timestamp be converted into a C# timestamp?

To convert a PHP timestamp into a C# timestamp, you can use the `DateTime` class in C# to create a new `DateTime` object using the PHP timestamp value...

How can one correctly convert a MySQL timestamp to a Unix timestamp in PHP?

To convert a MySQL timestamp to a Unix timestamp in PHP, you can use the strtotime() function to parse the MySQL timestamp and then use the date() fun...

What is the difference between a MySQL timestamp and a Unix timestamp in PHP?

A MySQL timestamp is a datetime field in a MySQL database that stores dates and times in the format 'YYYY-MM-DD HH:MM:SS', while a Unix timestamp is a...

How can the UNIX timestamp be converted to MySQL timestamp format for accurate date comparisons in PHP?

When working with UNIX timestamps in PHP and MySQL, it is important to convert the UNIX timestamp to MySQL timestamp format for accurate date comparis...

How can I store a timestamp value in a MySQL database with the TIMESTAMP data type?

To store a timestamp value in a MySQL database with the TIMESTAMP data type, you can use the NOW() function in your SQL query to insert the current ti...

Showing 1 to 5 of 2470 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 493 494 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.