on 09-23-2016 11:05 AM
Hi all,
We have following in a date field 20.141.114.070.000 and want to convert it to something like 22.04.2016 in a calculated column.
Can someone help me here?
Thanks
In a calculated column of a graphical calculation view you can use the "format" function (check docu Date Functions). Assuming your date/time information is stored in longdate format (or converted to it on the fly) an example would look like following.
Calculated column (column VALUE contains the long date):
Result:
In case of a not supported format, you can always use the "component" function to extract the specific parts of the date/time column to build up your requested format.
Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What type does your ASSIGN_START column have?
The UTCTOLOCAL function will/can work if you switch in the expression editor from language "Column Engine" to "SQL". Why "can work"? That depends on your HANA release. Which SQL functions are supported or not is not very well documented. I tested the UTCTOLOCAL function on an SPS11 system, there it works. If your system does not support the SQL function in SQL mode, than you could create a user defined table function, do the necessary things in it and use the function as data source in the graphical calc. view.
Regards,
Florian
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you sure 20.141.114.070.000=22.04.2016? I mean to say, if we convert said values then our output should be 22.04.2016. Need clarity.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.