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
Skreek
Sat Oct 31 01:26:37 2026
from
Leeds, England
via
Telnet
Ashenfieldx
Sat Oct 31 00:53:18 2026
from
Guelph, Ontario
via
Telnet
Rixter
Fri Oct 30 23:01:34 2026
from
Madison, Nc
via
Telnet
Brianm
Fri Oct 30 22:44:03 2026
from
Glasgow
via
Raw
Amstrad Ppc
Fri Oct 30 21:43:10 2026
from
Wiltshire
via
SSH
Amstrad Ppc
Fri Oct 30 19:12:25 2026
from
Wiltshire
via
SSH
Amstrad Ppc
Fri Oct 30 18:31:19 2026
from
Wiltshire
via
SSH
Amstrad Ppc
Fri Oct 30 18:10:34 2026
from
Wiltshire
via
SSH