Tried to reindent code using 8 spaces for tab.
Added some code on dates and times in R.