Electroencephalography (EEG) biometrics has garnered significant attention in recent years owing to its nonintrusive nature, real-time detection capabilities, concealment, and high complexity. Despite these promising attributes, the practical deployment of EEG-based identity recognition systems remains hindered by limited cross-day recognition performance. While some studies have reported cross-day recognition, they often suffer from slow recognition speeds, failing to meet the basic requirements for practical applications. To address this issue, we propose an unsupervised domain adaptation algorithm based on spatial pattern alignment for visual-evoked potential (VEP)-based identity recognition. This method employs rotational alignment of spatial patterns to correct cross-day spatial filters and utilizes forward selection to identify optimal sub-bands. By utilizing this approach, significant improvements of speed and accuracy in cross-day recognition can be achieved. We validate the proposed algorithm on three existing VEP datasets: Dataset I (25 subjects across 30 days), Dataset II (21 subjects across 5 days), and Dataset III (15 subjects across 200 days). The results demonstrate a significant superiority over the compared algorithms. Furthermore, we conduct online experiments with 15 individuals across over 1000 days, and the outcomes remain consistent. Analyzing the dataset over nearly three years in terms of temporal dimension, we observe evident template aging effect: 30 days > 200 days > 1000 days. However, the proposed method effectively mitigates template aging, resulting in minimal performance differences among the various datasets. The introduced algorithm substantially enhances speed and accuracy in cross-day recognition, paving the way for the long-term stability and practicality of online brainwave recognition systems.