powered by
Gets the time when the object was instantiated (created) as a POSIXt object.
# S3 method for Object getInstantiationTime(this, ...)
Returns a POSIXt object, which extends class POSIXct.
Not used.
Henrik Bengtsson
The instantiation time stamp is set when the object is created, and only of option "R.oo::BasicObject/instantiationTime" is TRUE.
"R.oo::BasicObject/instantiationTime"
TRUE
For more about time formats and POSIX see DateTimeClasses. For more information see Object.
DateTimeClasses
Object
oopts <- options("R.oo::Object/instantiationTime"=TRUE) obj <- Object() print(getInstantiationTime(obj)) options(oopts)
Run the code above in your browser using DataLab