php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "time formatting"

What are the advantages and disadvantages of formatting time values in the database versus formatting them during output in PHP?

Formatting time values in the database can lead to consistency across all queries and applications that access the data. However, it can also limit fl...

Are there any recommended resources or tutorials for handling time calculations and formatting in PHP?

When working with time calculations and formatting in PHP, it is recommended to use the DateTime class, which provides a wide range of methods for man...

How can PHP developers ensure consistent date and time formatting across their applications?

To ensure consistent date and time formatting across PHP applications, developers can create a function that accepts a date/time string and a desired...

Are there any specific considerations when dealing with milliseconds in PHP time formatting functions?

When dealing with milliseconds in PHP time formatting functions, it is important to note that most PHP functions do not directly support milliseconds....

What best practices should be followed when formatting and displaying time differences in PHP functions?

When formatting and displaying time differences in PHP functions, it is important to consider the timezone settings to ensure accurate results. It is...

Showing 6 to 10 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 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.