How do you truncate the time portion from
a timeDate object.For example, for observations of
times such as 3/20/2006 10:21:50.000
I just want the date 3/20/2006
I want to use table to count the number of occurrences
of 3/20/2006, 3/21/2006, etc.
More generally, how do you extract other parts of the
date - say I want a variable that just keeps
the months (I want to see how many times
March occurs, April occurs, etc.)
Thanks!
-- Laura Chihara
*******************************************
Laura Chihara
Associate Professor 507-646-4065 (office)
Dept of Mathematics 507-646-4312 (fax)
Carleton College
1 North College Street
Northfield MN 55057
|