Search
New Code
Calculate Relative Time Ago 0.0.1
Compute Age 0
Top Code
Compute Age 0
Calculate Relative Time Ago 0.0.1
SQL > Date/ Time

Code 1-2 of 2   






Here you may find some useful snippets for calculating relative time for different purposes: to get info from a column within certain date, like the latest 7 days, to get time interval etc.



This PL/SQL stored procedure returns a person's age in whole years. It returns the number of whole years between two dates, and will also validate a date. Includes a stored function version.

File List:
@PSC_ReadMe_866_5.txt 1Kb