importing datetiem, setting up for analysis