CDate is a holdover from VB 6.0. Many developers like to steer clear of
these functions because they cause more overhead than if the .NET equivalent
class is used.
"Eduardo A. Morcillo [MS MVP]" <emorcilloATmvps.org> wrote in message
news:Oc**************@tk2msftngp13.phx.gbl...
CType(string, date)
datevar = CDate(string) is shorter. You can also use Date.Parse or
Date.ParseExact which can be used to parse a string in a specific format.
--
Eduardo A. Morcillo [MS MVP VB]
http://www.mvps.org/emorcillo