I am having difficulty understanding how QGIS calculates the difference between two dates with the "AGE" function and would like to see how it is coded.

If this is possible, how do I find the source?

Skip to content
# How to find the source code used for a function in the latest QGIS Field calculator

###### Related Question

qgis

I am having difficulty understanding how QGIS calculates the difference between two dates with the "AGE" function and would like to see how it is coded.

If this is possible, how do I find the source?

- [GIS] How to find the difference between two times (hh:mm) in QGIS
- [GIS] way to access the GeoProcessing tools in QGIS, in code
- [GIS] Calculating distances in QGIS Field Calculator
- [GIS] QGIS Field Calculator functions
- [GIS] Find and Replace ALL function in QGIS field calculator
- [GIS] Calculate date difference (days) with expressions (QGIS)

## Best Answer

It is available here. We see it is computed as the number of seconds between the two inputs.