Judicial notice is a powerful tool for litigants to get factual matter in front of a court without a sponsoring witness or all the other burdensome requirements under the rules of evidence. If used properly, facts that are beyond dispute and other universally known facts can be firmly established in the case so that the parties can focus on triable issues that must be resolved by a judge or a jury.
For example, in a burglary case, a trial court may take judicial notice of when the sun set on a certain date in order to conclude whether or not a burglary was committed in the nighttime. (E.g. People v. Helm (1957) 156 Cal.App.2d 343, 344 [analyzing prior Penal Code § 460].) The court can judicially notice that the burglary was committed in the nighttime based on the indisputable fact that the sun set before the burglary—thereby allowing the parties to focus on other disputed facts at trial.