Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Double representation of clock.
Date: Fri, 6 Nov 2009 14:32:02 +0000 (UTC)
Organization: Erasmus MC
Lines: 14
Message-ID: <hd1c12$nvu$1@fred.mathworks.com>
References: <hd161s$8am$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257517922 24574 172.30.248.37 (6 Nov 2009 14:32:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 6 Nov 2009 14:32:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 870065
Xref: news.mathworks.com comp.soft-sys.matlab:583016


"Jan Arjen kRAAK" <jan.arjen.kraak@ict.nl.remove.this> wrote in message <hd161s$8am$1@fred.mathworks.com>...
> Is there a defined way to convert the output of clock
> [year month day hour minute seconds]
> to a double representation?
> 
> The best I came up with is:
> seconds + (100*minutes) + (1000*hour) + (1000000*day) +
> (100000000*month) + (10000000000*year)
> 
> But I get the impression there must be an easy way...

help now

Jos