getInstantiationTime.Object | R Documentation |
Gets the time when the object was instantiated (created) as a POSIXt object.
## S3 method for class 'Object'
getInstantiationTime(this, ...)
... |
Not used. |
The instantiation time stamp is set when the object is created, and
only of option "R.oo::BasicObject/instantiationTime"
is TRUE
.
Returns a POSIXt object, which extends class POSIXct.
Henrik Bengtsson
For more about time formats and POSIX see DateTimeClasses
.
For more information see Object
.
oopts <- options("R.oo::Object/instantiationTime"=TRUE)
obj <- Object()
print(getInstantiationTime(obj))
options(oopts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.