GetResourceLastStartTime
Jump to navigation
Jump to search
Used to check the last starting time and date of a function
Syntax
string getResourceLastStartTime ( resource theResource )
Required Arguments
- theResource: The resource of which you'd like to check the last starting time and date.
Returns
Returns a string with the time and date, or false if the resource does not exist.
Example
This function outputs to chatbox when the current resource was started.
function whenStarted() local startTime = getResourceLastStartTime ( getThisResource() ) --Get the time and date outputChatBox( "This resource was started on: " .. startTime ) --tell everybody when the current resource was started. end
See Also
- abortRemoteRequest
- addResourceConfig
- addResourceMap
- call
- callRemote
- copyResource
- createResource
- deleteResource
- fetchRemote
- getRemoteRequestInfo
- getRemoteRequests
- getResourceACLRequests
- getResourceConfig
- getResourceDynamicElementRoot
- getResourceExportedFunctions
- getResourceFromName
- getResourceInfo
- getResourceLastStartTime
- getResourceLoadFailureReason
- getResourceLoadTime
- getResourceMapRootElement
- getResourceName
- getResourceOrganizationalPath
- getResourceRootElement
- getResources
- getResourceState
- getThisResource
- isResourceArchived
- isResourceProtected
- refreshResources
- removeResourceFile
- renameResource
- restartResource
- setResourceInfo
- startResource
- stopResource
- updateResourceACLRequest