JustinL22
10 months agoContributor
How to keep date from excel in the same format
I am currently setting a date in excel and extracting that date to be used as a variable. I need the variable to be displayed in the format DD/MM/YY so in excel I have formatted the cell so it displays that way e.g. 06/02/24. However when testcomplete gets the data from the excel cell it sets the variable in the format DD/MM/YYYY e.g. 06/02/2024
How can I get it to keep the data exactly how it's being displayed in excel?
Thanks