In a Bash script, I want to print the current datetime in ISO 8601 format (preferably UTC), and it seems that this should be as simple as date -I:
date -I
http://ss
There's a precompiled coreutils package for Mac OS X available at:
coreutils
http://rudix.org/packages-abc.html#coreutils.