API_Attribute.header.modiTime vs API_Element.header.modiStamp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-09-27 06:15 PM
Can someone explain the difference between modiStamp and modiTime?
I figured out that modiTime is a straight unix time stamp.
Ex: attribute.header.modiTime = 1569584172 = Fri Sep 27 2019 11:36:12 GMT+0000
Ex: element.header.modiStamp = 46103487 = ???
Is there a way to convert one from the other?
- Labels:
-
Add-On (C++)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-09-28 08:50 AM
Hi,
modiStamp is not related with time, it's just an incremental stamp. If one element's modiStamp is higher than the other's, then that element was modified later. You can interpret it as a version of the project's database. As soon as something changed, then that "version" will be increased and the actually modified/new elements get that number.