DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
mysql last friday of current month
SELECT LAST_DAY(NOW()) - ((7 + WEEKDAY(LAST_DAY(NOW())) - 4) % 7);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mysql
#friday
#current
#month
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit