Function lupnt::spice::TDBtoStringUTC¶
Defined in File spice.h
Function Documentation¶
-
std::string lupnt::spice::TDBtoStringUTC(Real t_tdb, int prec)¶
Format a TDB epoch as a UTC calendar string, via SPICE’s
et2utc_cwith format"C".Used by
TAItoStringUTCand elsewhere for human-readable logging / debugging of simulation epochs.- Parameters:
t_tdb – TDB epoch [s, seconds since J2000]
prec – Number of digits of fractional seconds in the output
- Returns:
UTC calendar string, e.g.
"2025 JUN 07 12:00:00.000"