php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "weekday names"

How can the WEEKDAY() function in MySQL be utilized to order data by weekday?

To order data by weekday using the WEEKDAY() function in MySQL, you can include the WEEKDAY() function in the ORDER BY clause of your query. This func...

What are some potential pitfalls when trying to display weekday names in a PHP calendar?

One potential pitfall when trying to display weekday names in a PHP calendar is not considering the correct starting day of the week. By default, PHP...

How can you change the output of getdate(weekday) from English to German in PHP?

To change the output of getdate(weekday) from English to German in PHP, you can use the setlocale() function to set the desired locale. In this case,...

How can I modify my SQL query to group all data with the same weekday together?

To group all data with the same weekday together in a SQL query, you can use the `DAYOFWEEK()` function to extract the weekday from a date column and...

Is it recommended to perform translations, such as converting weekday IDs to names, directly in the database query or in PHP code?

Performing translations, such as converting weekday IDs to names, is generally recommended to be done in the PHP code rather than directly in the data...

Showing 11 to 15 of 6787 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1357 1358 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.