Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergot/datetime-parse
DateTime::Parse
https://github.com/sergot/datetime-parse
Last synced: 5 days 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-23T19:28:40.000Z (12 months ago)
- Last Synced: 2024-05-01T20:24:36.992Z (7 months ago)
- Language: Raku
- Size: 37.1 KB
- Stars: 3
- Watchers: 5
- Forks: 17
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DateTime::Parse
===================DateTime parser.
[![test](https://github.com/sergot/datetime-parse/actions/workflows/test.yml/badge.svg)](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