JSON to data converter converts dates

udeshika_sewwan
udeshika_sewwan New Altair Community Member
edited November 2024 in Community Q&A
I am reading data from a MongoDB collection using RapidMiner Studio and converted them to table format using JSON to Data operator. Given that I have a field called 'date' in ISO date format, when I convert JSON to data using the above operator that date format changes to some other format like milliseconds I guess. The problem is all the dates converted to one millisecond value '2147483647'. 

Is there a way that I can give a format of conversion or some workaround for this ? 
Tagged:

Answers

  • YYH
    YYH
    Altair Employee
    edited September 2019
    Hi @udeshika_sewwan,

    You can use “Numerical to Date” operator as a workaround to transform the millisecond values back to a time stamp. Do you have any example json to share for testing?

    Cheers,
    YY

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.