02-10-20 04:24 AM
Translation Date | Document Date | Tax Date | Reversal Posting Date | |
30/09/2020 | 9/30/2020 | 14-Sep-20 | 44125.00 |
All of them are dates to be converted to day.Month.year.
First one (30/09/20) I can convert using Replace([Original Date], "/", ".")
which returns the desired result (30.09.2020).
Second one (9/30/2020) I can convert using FormatDate([Original Date], "dd.MM.yyyy")
ex: FormatDate("9/30/2020","dd.MM.yyyy"), which returns the desired result (30.09.2020).
Third case ("14-Sep-20") also is converted using FormatDate, the same function as second case.
But how to convert the last case?
In Excel, it is wrongly formatted as Number instead of Date.
The only 2 functions are currently used and work for the first 3 cases, but how can I do to convert last case, please?
Thank you very much!
Regards,
Answered! Go to Answer.
02-10-20 09:24 AM
02-10-20 04:39 AM
02-10-20 09:24 AM
02-10-20 02:28 PM
MakeDate(31, 12, 1899) + MakeTimeSpan([Date] - 1, 0, 0, 0)
02-10-20 05:20 PM
02-10-20 07:43 PM
09-10-20 01:52 PM