changed variable naming of msdate > time