Hey there. I have a table populated with a bunch of dates. Can anyone suggest a simple way to find the closest historic (i.e. past) date to the current date? Thanks.
It is because if you state: "I have a table populated with a bunch of dates." it is assumed you are talking about the data base, probably Access, so "having max(historic) < date()" would be a part of an SELECT Sql statement.
Yes, the maximum date from the dates listed in my table which is less than the current date. I think I just need more detailed instructions or time to clear my head and figure it out.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.