User:AnomieBOT/source/d/Timestamp.pm/doc
NAME
editd::Timestamp - AnomieBOT timestamp handling decorator
SYNOPSIS
edituse AnomieBOT::API; $api = new AnomieBOT::API('conf.ini', 1); $api->decorators(qw/d::Timestamp/);
DESCRIPTION
editd::Timestamp
contains timestamp-related utility functions for use by an AnomieBOT task. When "d::Timestamp" is used as a decorator on the API object, the following methods are available.
METHODS PROVIDED
edit- $api->ISO2timestamp( $ts )
- Convert an ISO-format timestamp into a standard epoch value.
- $api->timestamp2ISO( $ts )
- Convert an epoch value to an ISO-format timestamp.