Converting a date string in UFT
Question ID:
110124
♥ 0 |
I’ve been working with UFT for a few months now, and one thing that keeps coming up is having to convert a string to a date, then use that date later in the test. I’ve tried solutions I’ve found online, and I’ve got a method which can handle most date formats. However, I was wondering if you were aware of any utility or function that can be used when converting strings to dates? (The Monday, February 22, 2021 format is causing issues) Most of the solutions I’ve found when run in UFT come back with ‘expected end of statement’ just hoping you guys may have something to help me out here. – Thanks.
Marked as spam
|