Re: [RexxLA] How to just get back the number of days component using datetime class?
Erich Steinböck wrote:
> I could not find "days" as a method of the datetime class
> Michael, DateTimedoes not have a days() method.
> Subtracting two DateTimeinstances returns a TimeSpan instance (which /does/ have a days()method)
> If you'd like to know what class a given instance belongs to, use the class()method, e.g.
> say (.DateTime~new - .DateTime~new("2018", "02", "05"))~class --> The TimeSpan class
aaahhhh.... TimeSpan class!!! An entire associated class I had not realized was included!