a) lastIndex = 4

application("te_todaysDate") = 18-07-2018

FormatDateTime(Now(),2) = 18-07-2018

b) lastIndex = 4