DateTime::Parse
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/DateTime Add rfc850-var-date-two token Jan 22, 2019
t Add rfc850-var-date-two token Jan 22, 2019
.gitignore add .gitignore Mar 14, 2018
.travis.yml add travis Mar 14, 2018
LICENSE
META6.json
README.md we dont use $localtime May 29, 2014

README.md

DateTime::Parse

DateTime parser.

Synopsis

    my $rfc1123 = DateTime::Parse.new('Sun, 06 Nov 1994 08:49:37 GMT');
    say $rfc1123.Date;

    say DateTime::Parse.new('Sun', :rule<wkday>) + 1; # 7th day of week

Description

  • new( $format, $rule )
    • $format : String with DateTime to be parsed
    • $rule : Rule to run