Skip to content
Advertisement

How To Use Latest Date As A Condition In Query

I have a few table, and one of it is “peminjaman” which have “date” atribute type in it, which is “tarikhpemulangan” example=”2019-07-23″ . I want to select from “peminjaman” where the atribute “tarikhpemulangan” must already pass from today date. Please help me.

Advertisement

Answer

You just need to add NOW function on the query and we don’t need JavaScript code.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement