php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "NOW()"

What is the difference between a UNIX timestamp and a timestamp generated by the SQL function now(), and how does it affect PHP date formatting?

The main difference between a UNIX timestamp and a timestamp generated by the SQL function now() is the format they are stored in. UNIX timestamps are...

What are the potential pitfalls of using NOW() versus UTC_TIMESTAMP() when inserting timestamps into a MySQL database?

When inserting timestamps into a MySQL database, using NOW() can lead to inconsistencies if the server's timezone changes or if different servers have...

What is the significance of using the NOW() function when inserting dates into a database in PHP?

Using the NOW() function when inserting dates into a database in PHP ensures that the current date and time are accurately recorded without needing to...

What are some common pitfalls when trying to use NOW() in PHP code for database operations?

When using NOW() in PHP code for database operations, a common pitfall is not properly formatting the date and time in the SQL query. To avoid this is...

How can the use of PHP functions like time(), date(), mktime(), and NOW() impact the accuracy and consistency of timestamp data stored and retrieved from a MySQL database?

Using PHP functions like time(), date(), mktime(), and NOW() can impact the accuracy and consistency of timestamp data stored and retrieved from a MyS...

Showing 26 to 30 of 180 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 35 36 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.