in reply to Re: getting a utc value from julian date
in thread getting a utc value from julian date

(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)
  • Comment on Re^2: getting a utc value from julian date

Replies are listed 'Best First'.
Re^3: getting a utc value from julian date
by Aldebaran (Curate) on Jul 02, 2015 at 05:36 UTC
    (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.

Re^3: getting a utc value from julian date
by marinersk (Priest) on Jun 30, 2015 at 13:59 UTC

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