Modern Mathematical Models Of Time and Their Applications To Physics and Cosmology