'and another date say doc.created i.e the date of creation of the 'document daydiff=abs(int(Cbdl(Today)-Cbdl(doc.created))) 'would do "Cbdl" is used to get the double numeric format of the dates 'the decimal part which is time is removed by using "Int" and "Abs" 'returns absolute value | ||||||||||||