utils/SSEphem/astrtime.cc
double utc2lmst (long mjd, double utc)
{
    double lmst = utc2gmst (mjd, utc) + get_observatory_longitude() / TWOPI;
    if (lmst < 0.0) {
        lmst += 1.0;
    }
    if (lmst >= 1.0) {
        lmst -= 1.0;
    }
    return lmst;
}
// Local Mean Sidereal time is just GMST plus the observer's longitude
// measured positive to the east of Greenwich.
Local Mean Sidereal time is just GMST plus the observer's longitude
measured positive to the east of Greenwich.
Local Mean Sidereal time is just GMST plus the observer ' s longitude measured positive to the east of Greenwich .
double utc2lmst (long mjd, double utc)
{
    double lmst = utc2gmst (mjd, utc) + get_observatory_longitude() / TWOPI;
    if (lmst < 0.0) {
        lmst += 1.0;
    }
    if (lmst >= 1.0) {
        lmst -= 1.0;
    }
    return lmst;
}
double utc2lmst ( long mjd , double utc ) { double lmst = utc2gmst ( mjd , utc ) + get_observatory_longitude ( ) / TWOPI ; if ( lmst < 0.0 ) { lmst += 1.0 ; } if ( lmst >= 1.0 ) { lmst -= 1.0 ; } return lmst ; }
Local Mean Sidereal time is just GMST plus the observer's longitude
measured positive to the east of Greenwich.
Local Mean Sidereal time is just GMST plus the observer ' s longitude measured positive to the east of Greenwich .