I get an error when I try to record over midnight

Create two files; have the first file record up to 23:59:59 and the second file start from 00:00:00

If needed, join these files using Wavepad Sound Editor.