https://github.com/sergot/datetime-parse
DateTime::Parse
https://github.com/sergot/datetime-parse
Last synced: 3 months ago
JSON representation
DateTime::Parse
- Host: GitHub
- URL: https://github.com/sergot/datetime-parse
- Owner: sergot
- License: mit
- Created: 2014-05-29T08:40:45.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-07-09T00:57:40.000Z (almost 2 years ago)
- Last Synced: 2025-04-19T21:25:28.898Z (about 1 year ago)
- Language: Raku
- Size: 37.1 KB
- Stars: 3
- Watchers: 4
- Forks: 17
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DateTime::Parse
===================
DateTime parser.
[](https://github.com/sergot/datetime-parse/actions/workflows/test.yml)
Synopsis
===================
my $rfc1123 = DateTime::Parse.new('Sun, 06 Nov 1994 08:49:37 GMT');
say $rfc1123.Date;
say DateTime::Parse.new('Sun', :rule) + 1; # 7th day of week
Description
==================
- new( $format, $rule )
- $format : String with DateTime to be parsed
- $rule : Rule to run