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
Evander
Fri Apr 24 14:44:42 2026
from
Usa
via
Telnet
Fort
Thu Apr 23 23:17:20 2026
from
Cougar, Washington
via
Telnet
Fort
Thu Apr 23 17:34:55 2026
from
Cougar, Washington
via
Telnet
Fort
Thu Apr 23 17:27:23 2026
from
Cougar, Washington
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
303
Nodes:
10 (0
/
10)
Uptime:
07:27:20
Calls:
2,530
Files:
5,890
D/L today:
247 files
(68,483K bytes)
Messages:
470,357
Synchronet Oneliners
Kat@rdbbs Wed Mar 11 14:52:38 2026 Hello erryone!
Jmay@rdbbs Fri Mar 13 20:32:57 2026 Burning the oatmeal
Tsukaj@rdbbs Tue Mar 17 22:27:28 2026 hell yeah this is so cool
Ecjonas@rdbbs Tue Mar 31 06:08:47 2026 Fedora be nice, i think
Vintagegeek@rdbbs Wed Apr 1 09:46:05 2026 Happy April 1st