I kind of stuck on this one. Basically, we have a string that is actually a date with a format YYYYMM. For example, 201901.
I wanted to convert this into a date record, but I found out that we could not set a particular date format in the method 'format()'.
Is there any way I could create a date record with date format YYYYMM?