Use this Value-

javascript: var answer = (current.due_date.getDisplayValue() <= (new GlideDateTime().getDisplayValueInternal())); answer;

 

I tested it works.

I usually check all exisiting style shees for reference and some you need to try if not already used in system.

 

-Tanaji

Please mark response correct/helpful if applicable