format datetime in tooltip headers