[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36954] datenum and datevec convert date strin
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #36954] datenum and datevec convert date string incorrectly |
Date: |
Thu, 26 Jul 2012 07:22:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120714 Iceweasel/3.5.16 (like Firefox/3.5.16) |
Follow-up Comment #4, bug #36954 (project octave):
My computer's locale is US, so Daylight Savings Time does explain the behavior
I'm seeing. However, it is confusing that datenum returns different values for
March 11, 2007 at 2:00am when it is expressed as a string and a vector.
code:
s = datenum('11-Mar-2007 02:00:00')
v = datenum([2007 3 11 2 0 0])
output:
s = 733112.125000000
v = 733112.083333333
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36954>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/