Absolute dating and relative dating