* replacing calls to not-always-available gmtime_r with our own code.