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
Deepend
Mon Nov 17 08:14:34 2025
from
Calgary, Ab
via
HTTPS
Vintagegeek
Sun Nov 16 08:08:08 2025
from
Swarthmore, Pa
via
Telnet
Guest
Sun Nov 16 00:57:07 2025
from
No
via
Telnet
Vintagegeek
Sat Nov 15 11:07:35 2025
from
Swarthmore, Pa
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
283
Nodes:
10 (0
/
10)
Uptime:
17:46:53
Calls:
2,421
Files:
5,217
D/L today:
175 files
(30,178K bytes)
Messages:
439,415
Synchronet Oneliners
Witness@rdbbs Sun Oct 26 00:03:42 2025 Is this the BBS yet?
Guest@rdbbs Mon Nov 3 13:54:14 2025 i'm very confused, what happened to bbj :'(
Vintagegeek@rdbbs Tue Nov 4 05:21:46 2025 Play MegaSlots