DateTime::Parse
Perl6
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/DateTime
t
META.info
README.md

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