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
Retrojimmyx
Mon Sep 14 00:27:04 2026
from
Derbyshire
via
Telnet
Rixter
Mon Sep 14 00:01:35 2026
from
Madison, Nc
via
Telnet
Sam Shaxted
Sun Sep 13 14:48:09 2026
from
Sittingbourne, Kent
via
SSH
Furryboy
Sun Sep 13 13:32:38 2026
from
Romania, Galati
via
SSH
Bob Worm
Sun Sep 13 13:31:58 2026
from
Wales, Uk
via
Telnet
Rixter
Sun Sep 13 12:01:35 2026
from
Madison, Nc
via
Telnet
Quenix
Sun Sep 13 01:29:15 2026
from
Qu�bec, Canada
via
Telnet
Rixter
Sun Sep 13 00:01:34 2026
from
Madison, Nc
via
Telnet