It seemed like the time_to_hhmmssdd function was just begging to have its opposite next to it.  It doesn't save much for this particular helper file, but would likely be helpful to other contrib modules.