Yes, its normal.
See ?DateTimeClasses
---
Date: Fri, 20 Feb 2004 14:43:55 -0400
From: Hanke, Alex <[EMAIL PROTECTED]>
[ Add to Address Book | Block Address | Report as Spam ]
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Subject: [R] strptime() behaviour
Is it normal behaviour for strptime("29-Jan-01","%d-%b-%y")$mon to return a
value of 0?
strptime("29-Jan-01","%d-%b-%y")$year #works ok
101
strptime("29-Jan-01","%d-%b-%y")$mday #works ok
29
Regards,
Alex
Alex Hanke
Department of Fisheries and Oceans
St. Andrews Biological Station
531 Brandy Cove Road
St. Andrews, NB
Canada
E5B 2L9
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html