Monday, September 5, 2011

CAST in VB6

 dim date1 as date
date1=datetimepicker1.value

CAST('" & Format(date1, "mm/dd/yyyy") & "')