The month abreviation depends on the language setting of the device.
English(United States) > Sep
English(Uniret Kingdom) > Sept
So, I suspect that on your device the language is English(United Kingdom) and it expects 'Sept' for September.
And then it fails in this line: If strEmisDate.Length <> 11 Then
You can test it that way:
DateTime.DateFormat = "MM/dd/yyyy"
Private mDateTicks As Long
mDateTicks = DateTime.DateParse("09/21/2021")
DateTime.DateFormat = "dd-MMM-yyyy"
Private mDate As String
mDate = DateTime.Date(mDateTicks)
Log(mDate)