on 04-15-2020 9:54 AM
Hi Communauty
I have an issue with TODATE() formula.
Endeed, from extracting data from this string 2020-03-15 (I can't use as date), I extract :
1) Left(XXXXX;4)=2020 = year
2) Substr(XXXXX;6;2)=03 = Month
3) =Right(XXXXX;2)=15 = day
4) I concat 1+2+3 = 20200315
Finally, when I use Todate(20200315;"mmddyyyy") the result is 01/15/2020
Day is correct =15
Year is correct =2020
But MONTH is not correct = 01
Some one can help me ? Please
CHRISTIAN
Hi Christian,
For Month you need to use upper case MM, instead of lower case mm, as Todate([String object];"MMddyyyy").
Check this out
https://blogs.sap.com/2013/11/21/how-to-use-formulae-to-change-date-and-time-formats-in-webintellige...
Thanks,
Mahboob Mohammed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
10 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.