David44Coder
Member
- Local time
- Today, 17:40
- Joined
- May 20, 2022
- Messages
- 137
Can't seem to find anything on this.. and various combinations go to error e.g.
Whether Sat or Saturday is used, same error. CDate is no better.
What would be the correct way to cast a string date including Day to a Date variable?
Code:
Dim df as String, Cd as Date
df = "Saturday, 19 Mar 1983"
cd = DateValue(df)
Whether Sat or Saturday is used, same error. CDate is no better.
What would be the correct way to cast a string date including Day to a Date variable?