Hi, Giri.
While you were typing that last message, I was composing the following:
“Since the function hasn’t changed, what about the parameter you’re passing in (viz., myDateIn); is that no longer what you expect it to be (viz., something that has a getDate function)?”
Art