w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How can I select the last day of the month for the nearest past month for a specific month?

if year is considered

(YEAR(training_date) > YEAR(birthday)) ||
((YEAR(training_date) = YEAR(birthday)) && (MONTH(training_date)
> MONTH(birthday)))`

else if month only,

MONTH(training_date) > MONTH(birthday)




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.