Variable from database

masterking3000

New Member
Hello community,

is it available to get a variable from database (Epoch)?

I want to script / edit something and need the variable LastUpdated from the Epoch table Object_DATA.

With the following line i had the date when the object last updatet.

_lastupdated = _cursorTarget getVariable ["lastUpdate",date];

This prints the following format:
[JJJJ,MM,TT,HH,MM]

Is there a way to count the date's?
i want to do something, when the object is last updatet 30 days ago.

Please help me you solve this.

mfg
 
Last edited:
Back
Top