Fixed some of Joshs crappy code

Fixed a few things and wrote a comment to explain your issue with the error you had.  Fixed the date so that the true date time is now in the data frame.