Again, in MySql you can use a function which does this in the SQL query:
The DATE_FORMAT() function is documented fully here.Code:SELECT DATE_FORMAT(date, '%U');
|
Results 1 to 6 of 6
Thread: Dates and WeeksThreaded View
|
Click Here to Expand Forum to Full Width |