I need to convert unix time to datetime

I need to convert unixtime to datetime which activity can do it?

1 Like

Hi,
Can you give an example of unix time?

The unix time = “3788320004” convert to “18/01/2020 07:06:44”

@greentea_Teagreen
How are you calculating this? Unix epoch time 3788320004 is January 17, 2090.

System.DateTime dtDateTime = new DateTime(1970,1,1,0,0,0,0,System.DateTimeKind.Utc);
dtDateTime = dtDateTime.AddSeconds( “3788320004”).ToLocalTime();

How to use the method that you recommended

Can you try this in Assign Activity.

value that i want to convert in string format. How to adapt with method that you recommended image

Unix to Date.xaml (5.0 KB)

Try this one.