Question
Bentego
Bentego
TR
Bentego
Posted: Oct 12, 2022
Last activity: Oct 13, 2022
Last activity: 13 Oct 2022 12:24 EDT
Solved
How to Convert text to Datetime
Hi all,
I have one datetime property but it is coming text format from db,you can see below;
x=16102022000000 text property but i want to convert datetime format like this x=20200519T210000.000 GMT .
I tried some functions but i didnt resolve this case.I am waiting your helps.
Thank you!
***Edited by Moderator Marije to add Capability tags***
Hi All,
I solved this case like this;
First of all, I used Set Property component on the canvas,I equaled the text format to the datetime.After,I used this function;
datetime property=@addCalendar(@ConvertStringToDateTime(Primary.Date,"ddMMyyyyHHmmss"),0,-1,0,0,3,0,0)
Thank you for your supports!