The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache2::SSI::Datetime - Apache2 SSI Datetime Wrapper

SYNOPSIS

    my $finfo = Apache2::SSI::Finfo->new( '/some/file/path/file.txt', apache_request => $r ) ||
    die( Apache2::SSI::Finfo->error );
    # File modification time as a Datetime object
    my $mtime = $finfo->mtime;
    if( $mtime == $other_object_or_epoch_value )
    {
        # Do something
    }

VERSION

    v0.1.0

DESCRIPTION

Apache2::SSI::Datetime is a thin wrapper around Datetime to allow Datetime objects to be comparable.

When created, Apache2::SSI::Datetime objects default to an epoch time value when stringified and can be used in comparison.

AUTHOR

Jacques Deguest <jack@deguest.jp>

CPAN ID: jdeguest

https://gitlab.com/jackdeguest/Apache2-SSI

SEE ALSO

Apache2::SSI::Finfo, Apache2::SSI, Datetime

COPYRIGHT & LICENSE

Copyright (c) 2020-2021 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.