Absolute and relative rock dating