help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: datenum returns invalid result for month?


From: Mike Miller
Subject: Re: datenum returns invalid result for month?
Date: Tue, 10 Apr 2018 10:08:52 -0700
User-agent: Mutt/1.9.4 (2018-02-28)

On Tue, Apr 10, 2018 at 12:33:49 -0400, Fritz Sonnichsen wrote:
> I am working with datenum. If you run the statements below you will get:
> 10.380 and 100.38 for the results.
> Should they not be the same?

Note the critical difference between "MM" and "mm" in the date format
string. You should also be using "dd" and "yyyy", but since there is no
conflict Octave allows either upper or lower case.

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]