Staff details update

Added date functions and added information about departments