Volume Delay Function Python Format Datetime To String