I would like to convert a date/times to the Julian Date (number of days since Jan 1 4713 BCE, not the YY-ddd form where ddd is the day number of the current year). This doesn't seem to be built-in to gnudate, but I suspect it's pretty easy with the right incantation of date and bc.
I would prefer to be able to do this from the shell prompt or via a bash function rather than having to install some extra packages. Gnu-date and standard tools like sed awk bc