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
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
288
Nodes:
10 (0
/
10)
Uptime:
18:16:01
Calls:
2,453
Files:
5,332
D/L today:
291 files
(41,174K bytes)
Messages:
444,987
Synchronet Oneliners
Vintagegeek@rdbbs Fri Dec 5 06:02:20 2025 Maple Leafs
Pedro Herzensbuch@rdbbs Sat Dec 6 14:51:28 2025 Van a pasar cosas
Vintagegeek@rdbbs Sun Dec 7 13:30:36 2025 Merry Christmas
Vintagegeek@rdbbs Wed Dec 10 08:04:26 2025 M E R R Y C H R I S T M A S
Guest@rdbbs Sat Dec 13 23:46:34 2025 :)
Guest@rdbbs Mon Dec 15 21:08:57 2025 merry christmas from joshua tree