Time Parsing Rule
I am trying to write a parser business rule to pull out the middle portion of a date string from a data source.
The file has the date as "1-Jan-23" and I want to pull out the Jan. On the data source, I have the time dimension assigned to the proper column in the file. The month is always 3 characters, and the year is always 2 characters.
I am getting an error that I am unable to execute the BR. Can I not use args.value for the starting point of my parser rule ?
Dim filetime As String = args.Value
Dim filetimelen As Integer = filetime.Length
Dim startpos As Integer = filetimelen - 6
Dim month As String = filetime.Substring(startpos, 3)
Return month
