So I can get the days with SELECT DATEDIFF(CURDATE(),expires) but not exactly a month with an output of one (1). Isn’t this anyhow possible to transform it to month in MySQL? I want to check if a given date (like expires) is >= 1.
So I can get the days with SELECT DATEDIFF(CURDATE(),expires) but not exactly a month
Share
Will get you all rows, that have expired a month ago or earlier