vb Code:
  1. DateTimePicker1.Value.tostring("HH:mm:ss")