Getting timestamp from unix second

Farhan
Farhan Registered Posts: 27 ✭✭✭✭

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

Best Answer

Answers

  • Farhan
    Farhan Registered Posts: 27 ✭✭✭✭

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

    Capture.PNG

  • tgb417
    tgb417 Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Frontrunner 2022 Finalist, Frontrunner 2022 Winner, Dataiku Frontrunner Awards 2021 Participant, Frontrunner 2022 Participant, Neuron 2023 Posts: 1,649 Neuron

    @farhanromli
    ,

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

  • Farhan
    Farhan Registered Posts: 27 ✭✭✭✭

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

Setup Info
    Tags
      Help me…