Solved
How to get the initial creation date/time of a thing ?
Is there a way, or a service to get the initial creation date/time of a thing ?
Orhan
Is there a way, or a service to get the initial creation date/time of a thing ?
Orhan
Hi Orhan,
You can do it this way:
var confChanges = Things["yourThingName"].GetConfigurationChangeHistory();
confChanges.Filter({ changeAction: "CREATE"});
var creationDate = confChanges.rows[0].timestamp;
Best Regards,
Carles.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.