Skip to content
Prev 258392 / 398502 Next

Still confused about classes

See ?months.

methods(class = "Date")

would have got you there.

(Date is not an S4 class, so people should not be setting S4 methods 
on it without very good reason, and there are none in R itself.)
On Thu, 28 Apr 2011, Joshua Wiley wrote:

            
Call format(), not its methods, or use strftime() directly.