Getting timestamp from unix second

Solved!
farhanromli
Level 3
Getting timestamp from unix second

Is it possible to get timestamp from unix epoch seconds using Prepare Recipe?

For example given the epoch second = 1459149667, then the unix timestamp is  2016-03-28 07:21:07 (date format does not matter as long it is in UTC)


Operating system used: Windows 10

0 Kudos
1 Solution
MiguelangelC
Dataiker

Hi,

You can use the 'Convert UNIX timestamp to a date' processor for that operation.

View solution in original post

4 Replies
MiguelangelC
Dataiker

Hi,

You can use the 'Convert UNIX timestamp to a date' processor for that operation.

farhanromli
Level 3
Author
 
 

I have tried below but did not work. Or did I make a mistake?

Capture.PNG

0 Kudos
tgb417

@farhanromli ,

try unchecking the treat input as millisecond option. That should work better.  

--Tom
farhanromli
Level 3
Author

Yes, I just realised that and was about to update but thanks!