DateTime::Parse
Perl6
Switch branches/tags
Nothing to show
Latest commit 9f91cbd Nov 29, 2016 @sergot committed on GitHub Merge pull request #4 from Xliff/master
- Fix bug where the variant date was not getting processed into a

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