Check passed time in search container

Reiner Zufall, modified 5 Years ago. New Member Posts: 22 Join Date: 7/6/20 Recent Posts
Hello there
I have a question depending to search container, there is a way liferay check passed time from entries in search container grid.
I have to check the passed time, if an entry is older than three months, i have to set a yellow flag or something else, when it is older than six month the flag have to change its color to red. But i dont know how to check the time on runtime.
I have implement a method, but it only check time, when this method is called by an other method. This means, if no one use an method, the time will not be checked.
Have someone an idea?
have a nice day
Reiner