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
Fri Jan 2 03:36:20 2026
from
Calgary, Ab
via
HTTPS
Deepend
Thu Jan 1 15:35:34 2026
from
Calgary, Ab
via
HTTPS
Guest
Mon Dec 29 11:31:58 2025
from
Pitt
via
Telnet
Ben Cartwright
Mon Dec 29 08:17:07 2025
from
North Carolina
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
289
Nodes:
10 (0
/
10)
Uptime:
20:08:42
Calls:
2,460
Files:
5,399
D/L today:
28 files
(10,092K bytes)
Messages:
449,748
Posted today:
2
Synchronet Oneliners
Guest@rdbbs Mon Dec 15 21:08:57 2025 merry christmas from joshua tree
Deepend@rdbbs Tue Dec 16 21:40:53 2025 Merry Christmas!
Vintagegeek@rdbbs Wed Dec 17 10:29:09 2025 M E R R Y C H R I S T M A S
Guest@rdbbs Thu Dec 18 12:25:11 2025 i'm on the bus!
Vintagegeek@rdbbs Sat Dec 20 14:04:54 2025 Buehler