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);`
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From Rob Swindell@VERT 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..
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
Who's Online
Recent Visitors
Guest
Sun Jul 27 18:55:25 2025
from
Wisconsin
via
Telnet
Guest
Sat Jul 26 07:21:16 2025
from
System
via
SSH
Guest
Mon Jul 21 21:45:05 2025
from
System
via
Telnet
Guest
Thu Jul 10 14:25:25 2025
from
System
via
Raw