The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Read .Net system.datetime
Hello.
Is there any way that I can read a 18-digit .Net system.datetime in Rapidminer? I like to convert it to something readable for a human.
Here is an examble of a number; 634019213109374850
Which should be converted to 2010-02-16T12:48:30.937Z
0
Answers
Hi,
That is actually pretty tough. Originally I thought, that you can just convert the ticks into milliseconds and convert this into a date object (see process below). But the problem is that this does not account for DST, leap seconds etc. which means that in aggregate you are roughly 4 weeks off :smileysad:
I posted the process for educational reasons but this might not something you can easily solve without calling an external .Net routine (which is possible, e.g. with a command line call done by the operator "Execute Program").
Cheers,
Ingo