in reply to getting a utc value from julian date

Side note: Please consider use of <readmore>and </readmore>tags.

It seems you might be able to use the jd_secondsgm()method in Time::JulianDay .

Replies are listed 'Best First'.
Re^2: getting a utc value from julian date
by soonix (Chancellor) on Jun 30, 2015 at 07:11 UTC

    (The parent post seems to be a duplicate of getting a utc value from julian date)

    I, too, had suspected that Time::JulianDay would do what the OP needs, however, the ERRATA says:
    Time::JulianDay is not a correct implementation. There are two problems. The first problem is that Time::JulianDay only works with integers. Julian Day can be fractional to represent time within a day. If you call inverse_julian_day() with a non-integer time, it will often give you an incorrect result.
    The second problem is that Julian Days start at noon rather than midnight. The julian_day() function returns results that are too large by 0.5.
    The function I gave in Re: getting a utc value from julian date doesn't have these limitations (but needs DateTime)
      (The parent post seems to be a duplicate of getting a utc value from julian date)

      I have to assume that the duplication happened during my several attempts to get the readmore tags to work right, which I don't know whether I accomplished or not. Having mistakenly created a new node in so doing makes me want not to try any more. What's more, the actual conjunction is competing for my attention. We in the US weren't on the right side of the earth to see the actual event, but we got the before and after, which is spectacular and much better than fireworks.

      Ah, excellent. Thanks for the note. <pocket object="note"></pocket>.