This can be simple but I'm trying to find out best way of converting string integer to date format. Maybe use regular expression for this?
there is input string which is 6, or 8 numeric characters.
if 6 characters then first 4 digit is year and last 2 digit is month.
If 8 characters then first 4 digit is year, next 2 digit is month, and last 2 digit is day.
I can use 'if' statement to get date but i have many date fields. do you have any other idea? ^_^
thank you!
there is input string which is 6, or 8 numeric characters.
if 6 characters then first 4 digit is year and last 2 digit is month.
If 8 characters then first 4 digit is year, next 2 digit is month, and last 2 digit is day.
I can use 'if' statement to get date but i have many date fields. do you have any other idea? ^_^
thank you!