Simply use the .ToString overload of a DateTime object to get the format you require:
.ToString
DateTime
Dim dateValue As DateTime = New DateTime(2001, 03, 06) Dim dateString As String = dateValue.ToString("yyyy-MM-dd") '2001-03-06