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
Vintagegeek
Tue Nov 4 05:22:20 2025
from
Swarthmore, Pa
via
Telnet
Guest
Mon Nov 3 13:54:37 2025
from
Tunis
via
Telnet
Vintagegeek
Mon Nov 3 06:17:52 2025
from
Swarthmore, Pa
via
Telnet
Guest
Sun Nov 2 23:10:55 2025
from
Calgary, Ab
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
281
Nodes:
10 (0
/
10)
Uptime:
09:38:19
Calls:
2,410
Calls today:
1
Files:
5,177
D/L today:
57 files
(20,821K bytes)
Messages:
437,734
Synchronet Oneliners
Dev00903@rdbbs Mon Oct 6 04:48:23 2025 hello guys
Dev00903@rdbbs Mon Oct 6 04:48:48 2025 how it works this?
Vintagegeek@rdbbs Fri Oct 10 11:47:51 2025 Is it 1984 ?
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