I'm trying to enter dates without slashes, for example 09092013. Is there a quick and easy way to convert those strings into date objects? ParseDateTime() didn't like it.
I'm trying to enter dates without slashes, for example 09092013. Is there a quick and easy way to convert those strings into date objects? ParseDateTime() didn't like it.
You mean other than using
left()
to get the first two,mid()
the second two, andright()
the last four, then using those as inputs intocreateDate()
? how much quicker and easier are you wanting to get?