[Reports] Convert value from string to datetime
Hey there,
I want to create a report to check which objects are expiring in the next 50 days.
I have an attribute for each of my object/WT-Part which contains the expiring-date and also a short discription.
Because of that the attribute is from datatype.string:
| Attribute | Value | Dattype |
| Expiringstate | Expiring 31.12.2021 | Not available anymore | String |
Not all WT-Parts have a value for the expiringstate, just those with an expiring-date.
Now i want to trim the string (just in the reports) that i only have the date.
| Attribute | Value | Datatype |
| Expiringstate | Expiring 31.12.2021 | Not available anymore | String |
After that i want to convert that string into dataype.datetime:
| Attribute | Value | Datatype |
| Expiringstate | 31.12.2021 | Datetime |
With that date i want to check which WT-Parts have an expiring-date < 50 days to the current-date.
Is it possible to solve that directly in windchill reports? If yes, how can i do this?
Thanks in advance!!

