very useful link for Stata users (like often, from UCLA)

http://www.ats.ucla.edu/stat/stata/modules/dates.htm

Moreover, someone may need to cluster the SE over dates, like month and year; in that case a second step is needed.

http://www.stata.com/statalist/archive/2009-08/msg01367.html