SolarTime
SolarTime[] gives the angle on the celestial equator between the Sun and the local antimeridian for the current location and date.
SolarTime[loc]gives the solar time angle for the specified location and current date.SolarTime[date]gives the solar time angle for the specified date and current location.SolarTime[loc, date]gives the solar time for the specified location and date.SolarTime["MeanTime", loc, date]gives the mean solar time for the specified location and date.
Examples
SolarTime[]Please visit the official Wolfram Language Reference for more details.