Hi again, team.
I’m trying to retrieve a formatted date from Excel and type into a date text box. However, the script is typing in the OA value (double) instead of the actual date.
Ex:
Required value that need entered: ‘1-Dec-2019’
Actual value being entered: ‘43800’
I already tried the following and no luck:
DateTime.FromOADate(row(“FROM DATE”).ToString(“d-MMM’yyyy”)
Convert.ToDateTime(row(“FROM DATE”)).ToString(“d-MMM-yyyy”))
Been looking all over the place and nothing so far. Really looking forward hearing back from you. Thanks!
Martin