View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Convert MM/DD/YYYY to MJD

aaron wrote on Aug 16, 2008

Hello,

I have a simple question. Is there a routine inside of IRAF to convert standard calendar time into MJD? I don't need it to be specific to the hour or second, just the day. If so, which package is it under? I can't seem to find the routine called cldj, which would solve my problem.

Thanks,
Aaron

Mike Fitzpatrick wrote on Aug 16, 2008

See the ASTCALC, ASTTIMES and/or SETJD tasks in the ASTUTIL package. These will compute JD but you can do MJD directly in ASTCALC with an expression. See the help pages for details and examples.

-Mike

aaron wrote on Aug 16, 2008

Thanks! Exactly what I was looking for!

Last post on Aug 16, 2008