Converting dates
Does VBA have any functions that convert date strings such as M/D/YY, MM/D/YY, or M/DD/YY to MM/DD/YY format?
For example, if sDate == "1/9/19", then the output should be sDate = "01/09/19"
The key is that the output date should be in 2-digit month, day and year format, separated by forward slashes. i.e "MM/DD/YY"
- Robert
|