R.oo (version 1.7.5)

getInstantiationTime.Object: Gets the time when the object was instantiated

Description

Gets the time when the object was instantiated (created) as a POSIXt object.

Usage

## S3 method for class 'Object':
getInstantiationTime(this, ...)

Arguments

...
Not used.

Value

  • Returns a POSIXt object, which extends class POSIXct.

See Also

For more about time formats and POSIX see DateTimeClasses. For more information see Object.

Examples

Run this code
obj <- Object()
  print(getInstantiationTime(obj))

Run the code above in your browser using DataLab