hello freinds any one have idea i try to apply a macro to show new created jobs my macro:
{% if((DateTime.Now - DateCreated) < 7){ %}
NEW {% } #%}
but its not working thanks
Not quite sure about your question, assuming you want to get difference in days: macro should be something like this:
{%(DateTime.Now - DateTime.Now.AddDays(5)).TotalDays |(identity)GlobalAdministrator%}
thanks peter for help
Please, sign in to be able to submit a new answer.