def from_epoch_milliseconds(ms):
 seconds = int((ms / 1000.0))
 microseconds = ((ms - (1000 * seconds)) * 1000.0)
 return (EPOCH + timedelta(seconds=seconds, microseconds=microseconds))

def from_epoch_milliseconds ( ms ) : seconds = int ( ( ms / 1000.0 ) ) microseconds = ( ( ms - ( 1000 * seconds ) ) * 1000.0 ) return ( EPOCH + timedelta ( seconds = seconds , microseconds = microseconds ) )
convert milliseconds from the epoch to utc datetime .