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 20:55:30 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
Guest
Tue Dec 2 06:19:27 2025
from
Tokyo, Japan
via
Telnet
Guest
Wed Nov 26 12:46:02 2025
from
Tokyo, Japan
via
Telnet
Guest
Sun Nov 23 17:19:34 2025
from
Mn
via
Telnet
Guest
Thu Nov 20 20:48:00 2025
from
Crazyworldbbs.Com:2323
via
Telnet