Step - age

age ยท category: Dates and times

The difference as a duration (PostgreSQL age).

Forms

age(arg1: any)
age(arg1: any, arg2: string)

Example

g.inject(date("2001-04-10")).age(date("1957-06-13")).next().months   // 525