Quite possibly THE COOLEST SITE ON THE INTERNET because you can come and go as you please without being bombarded with pop-ups asking you to join any lists, and our pages are not full of ads, just a few! an online friends & family newsletter

RSS feed

Useful MySQL Queries

by bill - 2020-12-03 - ( education / tech / computers / internet )

Here's an example: Compute date from year, week number and weekday
SET @yr=2012, @wk=26, @day=0;
SELECT Str_To_Date( Concat(@yr,'-',@wk,'-',If(@day=7,0,@day) ), '%Y-%U-%w' ) AS Date;"

via artful software

Share this...

blog versionsimilar posts here... and elsewhere

Leave a new comment (testing):