What is the best way to calculate the age in years from a birth date in sqlite3?
You can convert the dates to floating point numbers and subtract…
cast(strftime('%Y.%m%d', 'now') - strftime('%Y.%m%d', dob) as int)
…where dob is a valid SQLite time string.
dob