Are we bale to create scripted field to fetch current date timestamp value

Are we able to create scripted field to fetch current date timestamp value. in milliseconds

My requirement compare the field DATE1 & current date and if the difference is more than 10 mins then have to change the color of the row.

I created the scripted field for the field DATE1 like doc[DATE1].value which returns in milliSeconds

If i get the the same milliSeconds format for the Current datetime in milli second format then i can find the difference i hope

Are you writing a plugin?

I suppose I am not following how creating a scripted field would allow you to change the color of the row.

i like to show the status column in Green/Red based on CurrentDate and DATE1 field
for Eg., if Current Date 8/12/2016 8:53.
Required to show data's in below format.

is there anyway to achieve this in Kibana? Please suggest

Are we able to do same like in Kibana? Any opinions?

Any suggestion on displaying or changing the whole cell background color?