DateTime::Parse

DateTime parser

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( rule )

    • $format : String with DateTime to be parsed

    • $rule : Rule to run

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.