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 Friday, August 16, 2024 18:28:29
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
Steven Wirsz
Saturday, March 15, 2025 11:19:24
from
Tempe, Az
via
Telnet
Steven Wirsz
Monday, April 14, 2025 21:34:25
from
Tempe, Az
via
Telnet
Steven Wirsz
Monday, April 14, 2025 21:34:11
from
Tempe, Az
via
Telnet
Steven Wirsz
Monday, April 14, 2025 21:31:44
from
Tempe, Az
via
Telnet