You will use the .ParseExact method of DateTime.
Dim dt as DateTime
dt = DateTime.Parse( "10/04", "MM/yy" )
DateTime dtC = DateTime.Parse( "10/04", "MM/yy" );
HTH,
bill
"Alejandro Penate-Diaz" <al********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
how can I convert a string like this "10/04" meaning octuber/2004 to a
valid DateTime?