MySQL Date/Time Subdate() FunctionThe subdate() is a MySQL date/time function. It is used to get the date which is subtracted by given intervals. SyntaxParameterDate : date by which interval is to be subtracted. Days : number of days in which interval is to be subtracted. Value : time or date interval to be subtracted. Unit : type of interval such as DAY, MONTH, MINUTE, HOUR and so on. Following can be one of them.
ReturnsThis unction returns the date which is subtracted by given intervals. Example 1Next TopicMySQL datetime |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India