s-news
[Top] [All Lists]

time format

To: "SPlus" <s-news@lists.biostat.wustl.edu>
Subject: time format
From: "Dr K M MA" <kmma@ha.org.hk>
Date: Fri, 08 Aug 2003 08:57:04 +0800
Cc:
Importance: normal
Reply-to: "Dr K M MA" <kmma@ha.org.hk>
Thread-index: AcNdSMoytOqqbV/tQPq8Zl+f1swqpQ==
Sorry for reposting this quesiton.
While reading one of the three replies I got, my pc went wrong with loss
of emails of the last 2 days.

Additional info/clarification of my problem-
 am using SPlus 6.1 Professional for Window (under CWin 98).

I have a dataframe 290 by 54 (row by column) which is imported from
Excel.
Several columns are time (hours and min) in the format hh:mm.  And I
want the
difference between several columns for curve fitting purpose.

sam1  sam2
12:07 13:03
12:08 12:50
13:39 14:24
12:36 13:11
12:43 14:23
12:35 13:24
...

Data class of sam1 and sam2 are labeled as facto

***
Dear sir,

Want to calculate the time difference in minutes of two columns; these
two columns are input as a dataframe.  The format is XX:YY (where XX are

hours (24 hours) and YY are minutes).  How should one do this?

Thanks in advance.

kmma
Hong Kong




<Prev in Thread] Current Thread [Next in Thread>