title: Sap Hana: function like "age" in PostgreSQL
body: <p>Is there a function in SAP HANA which has the same semantics as <code>age</code> in PostgreSQL, that is, which returns the difference between a given time stamp and the current time stamp? </p>
  
  <p>I know </p>
  
  <pre><code>ADD_YEARS(COLUMN_NAME, 2) &lt;= NOW()
  </code></pre>
  
  <p>in SAP HANA would correspond to</p>
  
  <pre><code>(extract (year from age( COLUMN_NAME )) &lt;= 2 ) 
  </code></pre>
  
  <p>in PostgreSQL. Unfortunately, this is not an option for me, since I don't have the information <code>&lt;= 2</code>. What I am looking for is a way to translate <code>age(COLUMN_NAME)</code> (PostgreSQL) to SAP HANA.</p>
  
  <p>Any ideas?</p>