Skip to content

Commit

Permalink
Document IO::Path.created
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Mar 3, 2023
1 parent fbb97b6 commit c1871a7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/Type/IO/Path.pod6
Expand Up @@ -955,6 +955,17 @@ object creation time.
There are also 3 methods for fetching the 3 timestamps of a file (inode),
on Operating Systems where these are available:
=head2 method created
Returns an L«C<Instant>|/type/Instant» object indicating when the file was
created.
=for code
say "path/to/file".IO.created; # Instant:1424089165
say "path/to/file".IO.created.DateTime; # 2015-02-16T12:18:50Z
Available as of the 2022.12 release of the Rakudo compiler.
=head2 method modified
Returns an L«C<Instant>|/type/Instant» object indicating when the content
Expand Down

0 comments on commit c1871a7

Please sign in to comment.