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
Dustman
Tue Oct 27 19:05:42 2026
from
Illinois, United States
via
SSH
Funkpower
Thu Oct 22 12:38:28 2026
from
Death, Star
via
Telnet
Funkpower
Thu Oct 22 12:33:57 2026
from
Death, Star
via
HTTPS
Funkpower
Thu Oct 22 12:33:49 2026
from
Death, Star
via
HTTPS
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
326
Nodes:
10 (0
/
10)
Uptime:
45:52:55
Calls:
2,732
Files:
6,620
D/L today:
31 files
(13,328K bytes)
Messages:
494,615
Synchronet Oneliners
Vintagegeek@rdbbs Sat Sep 26 10:03:00 2026 Bones
Deepend@rdbbs Sun Oct 4 17:18:14 2026 upgraded BBS to current synchronet version
User Fx@rdbbs Sun Oct 4 21:01:03 2026 idek. thank you, from hashnix.club peace. ~ufx
Dustman@rdbbs Wed Oct 7 11:32:39 2026 Howdy all :)
Vintagegeek@rdbbs Wed Oct 14 10:53:35 2026 The Price is Wrong Now
Dundee@rdbbs Mon Oct 19 16:38:50 2026 The Dude abides...