Skip to content

KBE3D / KBSatellite / _tlejs / getEpochDay

函数: getEpochDay()

getEpochDay(tle: TLE, isTLEParsed?: boolean): number

Returns the TLE epoch day of the year (day of year with fractional portion of the day) when the TLE was generated. For example, a TLE generated on January 1 will return something like 1.18396726. Output range: 1 to 365.99999999

参数

tle

TLE

Input TLE.

isTLEParsed?

boolean

Bypasses TLE parsing when true.

返回

number

示例

ts
getEpochDay('1 25544U 98067A   17206.18396726 ...');
206.18396726

KBE3D @3.0.0 Copyright © 2024-present KBE3D