NAME

Finance::CoinbasePro::API::CLI::Util::DateUtil - Finance::CoinbasePro::API::CLI::Util::DateUtil

DESCRIPTION

returns 19 character string like "2004-04-04 12:30:59"

REQUIRES

Time::Moment

IMPLEMENTS

Exporter

METHODS

convert_seconds_to_human_time

$self->convert_seconds_to_human_time();

converts seconds to human-readable.

getdatetime

$self->getdatetime();

returns 19 character string like "2004-04-04 12:30:59"

my_str2time

$self->my_str2time();

like str2time, but uses Time::Piece to parse more date formats

reformat_datetime

$self->reformat_datetime();