I have something like this:
to_days(now()) < to_days(birth)
This works, but instead of comparing the days, I also had to compare the time. Is there a similar feature?
Why don't you just use:
birth > NOW()
Are you looking for the DAYOFYEAR () function? http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_dayofyear
Source: https://habr.com/ru/post/1306830/More articles:When does the CLR load an assembly in a .NET process? - .netHow can I listen on multiple serial ports asynchronously in C # - c #Mercurial API Resources and Extensions - mercurialLimited image processing on the server - javaHow to make an advanced user interface in Android? - javaUsing Apache Camel, how do I untie my deserialized object that enters through the CXF endpoint? - javaHow can I execute an action from ASP.NET MVC with different user credentials? - asp.net-mvconline graphics of common twin / easing features? - functionRedirecting to another controller in Rails - redirectNo page number for dividing pages in LaTeX - latexAll Articles