help-octave
[Top][All Lists]
Advanced

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

Re: FW: ayuda


From: James Sherman Jr.
Subject: Re: FW: ayuda
Date: Mon, 17 Oct 2011 00:24:49 -0400

On Mon, Oct 17, 2011 at 12:08 AM, rolando rios cruz <address@hidden> wrote:



Hello
How I can calculate the hours they have spent in an interval of two different times?
thanks   


The function datenum returns a fractional part that is the fraction of the day.  So, using the datenum function on both times, then multiplying the difference by 24 will return the number of hours in between the two dates.

Hope this helps.

reply via email to

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