2022 Jun 20 10:12 PM - edited 2024 Feb 04 3:59 AM
Hi folks,
I am creating a custom CDS View to use in the "Custom Analytical Queries", my question is about date format, How I can convert a date from YYYY-MM-DD to DD/MM/YYYY?
Thanks
Request clarification before answering.
The solution using calculation:
concat(concat(concat( substring(Date_Column, 7, 2) ,'/') , concat( substring(Date_Column, 5, 2), '/' )),substring(Date_Column, 1, 4))Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tulio,
According to my understanding, the date format is according to your customizing.
You can click the user icon and change the date format there.
Best Regards,
Owen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi owen.liu, thank you for your answer.
Indeed there is an option to change the date format by configuration: User>> Settings>> Language & Region
However, there is no option for DD/MM/YYYYY
I was wondering if I can create a calculation using Regex. Do you know some reference that shows it?
Regards,
| User | Count |
|---|---|
| 39 | |
| 21 | |
| 20 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.