How Gravity And Time Are Related