So, I think you could boil function this down to a single line that doesn't involve any string formatting or parsing:
`return new Date(pYear, pMonthNum - 1, pDayNum, pHour, pMinute, pSecond === undefined ? 0 : pSecond);`
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Aug 16 18:28:29 2024
TimeTFFrom.. was a typo.
Sometimes it would be good to find better documentation on things, such as the Date class constructor in this case..
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
Who's Online
Recent Visitors
Spearb0y
Sun Jun 7 07:41:05 2026
from
Massachusetts
via
SSH
Krenn
Sun Jun 7 03:07:26 2026
from
Sydney, Nsw
via
Telnet
Krenn
Sun Jun 7 01:30:12 2026
from
Sydney, Nsw
via
Telnet
Centurion
Sat Jun 6 23:27:30 2026
from
Berea, Ohio
via
Telnet
Ab Cadd
Sat Jun 6 15:42:53 2026
from
Sheboygan, Wi
via
Telnet
Centurion
Sat Jun 6 15:32:28 2026
from
Berea, Ohio
via
Telnet
Krenn
Sat Jun 6 11:38:56 2026
from
Sydney, Nsw
via
Telnet
Furryboy
Sat Jun 6 10:56:29 2026
from
Romania, Galati
via
SSH