19
Views
1
Comments
Convert date
Question

Hi Guys!


I'm accepting information from a rest API, where the data fields are coming in a format like this/8748383838/.


however I would like to convert this format to a normal date as in the example below


I'm thinking about using an assign and putting an expression for this conversion.


But it didn't work that way, could anyone help?

2024-01-20 14-53-12
Ahmed Essawy

this date is called as unix date time : 

you can get the Outsystems date as per the following : 

AddSeconds(NewDateTime(1970,1,1,0,0,0),"8748383838") 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.