[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Re: what time is it?
> I agree that it might be nice in some situations to have a format that specified
> the exact time as well as the day.
I hate to SAS you all, but what I'm looking for is this:
gen DATE=mdy(mon_var,day_var,yr_var) we've got this in Stata
TIME=hms(hr_var,min_var,sec_var) SAS code
DATETIME=dhms(DATE,hr_var,min_var,sec_var) SAS code
As Kit noted, I need to be able to calculate the difference between two
date/time points and display it in a meaningful way which may include
hours, minutes and seconds.
* For searches and help try: