econometricks RSS

sharing things i learn about data manipulation, econometrics, and related tools. should it ever prove useful to you, i would love to hear how.

Archive

Jan
26th
Mon
permalink

I needed to calculate the difference between two date fields today.

cast( convert( datetime, datestring1, 101) - convert( datetime, datestring2, 101) as float )

I’m not sure what “101” does…

Comments (View)
blog comments powered by Disqus