basic datetime format question

  • Thread starter Thread starter PJ6
  • Start date Start date
P

PJ6

What's the easiest way to get a string from a datetime that omits the time?
I want to respect whatever local format there is for dates, so it can't
involve something like "mm/dd/yyyy".

Paul
 
Paul,

I prefer this one
\\\
Dim datestring As String = Now.ToString("d")
///
I hope this helps,

Cor
 
Back
Top