diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-24 04:35:41 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-24 04:35:41 +0000 |
commit | 874b18133d8cd6ab29e7805e88ba1ecb668b632a (patch) | |
tree | 5e51449636af4c194248418f35e914edd44d69dd /pod/perlfunc.pod | |
parent | 46e4b22b349f2fc617bcb5c937a01a6be391d76f (diff) | |
download | perl-874b18133d8cd6ab29e7805e88ba1ecb668b632a.tar.gz |
pod nit: $yday range for localtime/gmtime is 0..364 not 1..365 (from
Mark-Jason Dominus)
p4raw-id: //depot/perl@5913
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 5396fd1945..b973a15999 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1983,7 +1983,7 @@ itself, in the range C<0..11> with 0 indicating January and 11 indicating December. $year is the number of years since 1900. That is, $year is C<123> in year 2023. $wday is the day of the week, with 0 indicating Sunday and 3 indicating Wednesday. $yday is the day of -the year, in the range C<1..365> (or C<1..366> in leap years.) +the year, in the range C<0..364> (or C<0..365> in leap years.) Note that the $year element is I<not> simply the last two digits of the year. If you assume it is, then you create non-Y2K-compliant @@ -2351,7 +2351,7 @@ itself, in the range C<0..11> with 0 indicating January and 11 indicating December. $year is the number of years since 1900. That is, $year is C<123> in year 2023. $wday is the day of the week, with 0 indicating Sunday and 3 indicating Wednesday. $yday is the day of -the year, in the range C<1..365> (or C<1..366> in leap years.) $isdst +the year, in the range C<0..364> (or C<0..365> in leap years.) $isdst is true if the specified time occurs during daylight savings time, false otherwise. |