DTPicker date stored as variable
Posted on 2000-05-04
I want to store the formatted date as a string variable to use in other places. I have tried the following code:
Dim Letter_Date As String
Letter_Date = Form1.DTPicker1.Value
But the variable Letter_Date comes back as 05/05/00, but I want it to be May 5, 2000.
The control is displaying the date in the correct format, so my question is how do you store the displayed (formatted) date as a variable?