Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vrurg/raku-datetime-parse
Parser of various date/time formats
https://github.com/vrurg/raku-datetime-parse
Last synced: 18 days ago
JSON representation
Parser of various date/time formats
- Host: GitHub
- URL: https://github.com/vrurg/raku-datetime-parse
- Owner: vrurg
- License: mit
- Created: 2022-02-26T01:52:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-26T01:54:56.000Z (almost 3 years ago)
- Last Synced: 2024-11-05T22:44:38.895Z (2 months ago)
- Language: Raku
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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) + 1; # 7th day of week
Description
==================- new( $format, $rule )
- $format : String with DateTime to be parsed
- $rule : Rule to run