Jump to content
Sign in to follow this  
Cockroach

A Date function missing from the SQL Date function page

Recommended Posts

There is a function which is not referenced on the W3Schools pages. LAST_DAY(). Not sure if it is a function, but I use it a lot! Would be nice to see it on the SQL Date functions page!

 

Also, both of these work but there is no mention of it. Would help a lot to have a reference there when I look for reverse engineering someone else's code for maintenance & trouble shooting.

 

SUBDATE() = DATE_SUB() both work the same.

ADDDATE() = DATE_ADD() both work the same.

Edited by Cockroach

Share this post


Link to post
Share on other sites

THere are plenty of functions missing from the W3Schools website, it's simply too much to keep track of. If you want complete information, always go to the official source. Here's the list of Date functions in MySQL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...