date('Y-m-d H:i:s'); return 2024-11-26 17:56:30
but colons are not allowed in the filenames of Windows
try to use date('Y-m-d H_i_s'); instead