Is there a way to specify now as the value of a time field

We have a usecase where active documents are stored and the duration of them being active is the difference between now and when they were created. Is there any way we can achieve in elasticsearch?