Volume Delay Function Python Format Datetime String