C
Charles A. Lackman
Hello,
I am saving a date with milliseconds into the Registry:
Dec 01 2007 9:12:34:960PM
Registry = Format(Date.Now, "MMM dd yyy h:mm:ss:ffftt")
This works great, but when I try to make a variable (Date) out of what is
saved, I get an error:
"Not a Date"
Dim ADate as Date (or DateTime)
ADate = Format(Registry, "MMM dd yyy h:mm:ss:ffftt")
This works:
ADate = Format(Registry, "MMM dd yyy h:mm:ss tt")
When I add Milliseconds the conversion fails.
Any Assistance Is Greatly Appreciated,
Thanks,
Chuck
I am saving a date with milliseconds into the Registry:
Dec 01 2007 9:12:34:960PM
Registry = Format(Date.Now, "MMM dd yyy h:mm:ss:ffftt")
This works great, but when I try to make a variable (Date) out of what is
saved, I get an error:
"Not a Date"
Dim ADate as Date (or DateTime)
ADate = Format(Registry, "MMM dd yyy h:mm:ss:ffftt")
This works:
ADate = Format(Registry, "MMM dd yyy h:mm:ss tt")
When I add Milliseconds the conversion fails.
Any Assistance Is Greatly Appreciated,
Thanks,
Chuck