1
votes

Again a calculated field question, How can I create a calculated field to find out, what is the age of the entry.

In the list I will have a created date field, from that I would like to create a number field calculating the no of days from created day to today. I tried with =Today-Created, not working!!

Any inputs ? Thanks !!

1

1 Answers

1
votes

Use the DATEDIF function:

=DATEDIF(Created,Today,"D")

UPDATE:

Because Today won't work (see comments below), the OP chose a completely different approach using XsltListViewWebPart.