how to calculate time difference in sas?
Re: Time Difference Calculation If your values are stored as SAS Datetime values then you can simply subtract the the later from the earlier Datetime value. This gives you the difference in seconds.