Added Date function to masterpage