jday and j2d are command line utilities to convert calendar dates to astronomical julian dates, and julian dates to calendar dates. There is a corresponding library, libjday, which can be used for the same functionality within applications.WWW: https://jday.sourceforge.net/