on 2020 Feb 19 8:19 AM
Hi there,
If i have this number 1190130 (representing 20190130), how can I changed it to "01/30/2019".
Thanks.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
First remove the first character from the number "1190319" (using Substr), then use "ToDate" to convert it to date, and finally format the date with "FormatDate" to the desired format.
...
(Suppose N is the variable that contains the number to be converted.)
N: ="1190130"
NN: =Substr([N];2;Length([N])-1)
n_Date: =FormatDate(ToDate([NN]; "yyMMdd"); "MM/dd/yyyy")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.