llGetInventoryAcquireTime

From Second Life Wiki
Revision as of 07:02, 1 June 2021 by Lucia Nightfire (talk | contribs) (Added caveats about missing milliseconds and its impact.)
Jump to navigation Jump to search

Summary

Function: string llGetInventoryAcquireTime( string item );

Returns a string with the timestamp that the item was added to the prim's inventory.

• string item an item in the inventory of the prim this script is in

Caveats

  • If item is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.
  • This function currently returns an ISO timestamp that is missing milliseconds. It is recommended that you code your applications in preparation of millisecond support being added at a later date.
  • Using llListSort to sort a list of timestamps that both include and exclude milliseconds will have undesired results. ".000000" will first have to be inserted into timestamps missing milliseconds.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llGetInventoryCreator Returns the inventory item's creator
•  llGetInventoryName Returns the inventory item's name
•  llGetInventoryType Tests to see if an inventory item exists and returns its type
•  llGetInventoryNumber Returns the number of items of a specific type in inventory
•  llGetInventoryPermMask Returns the inventory item's permissions
•  llGetInventoryKey Returns the inventory item's UUID (if full perm)

Deep Notes

Search JIRA for related Issues

Signature

function string llGetInventoryAcquireTime( string item );