This function must returns the first day of te week passed as parameter
many thanks
On Friday, January 21, 2022 at 8:30:28 AM UTC-7, Marco Boschi wrote:If I run this little program I obtain the list below
This function must returns the first day of te week passed as parameter many thanksAs stated, this function will do it.
function FirstDayOfWeek( dData )
return 1
But you probably meant
function DateOfFirstDayOfWeek( dData )
return dData - dow(dData) + 1
David A. Smith
Il giorno venerdì 21 gennaio 2022 alle 19:19:33 UTC+1 dlzc ha scritto:
On Friday, January 21, 2022 at 8:30:28 AM UTC-7, Marco Boschi wrote:
This function must returns the first day of te week passed as parameter many thanks
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 70:29:22 |
Calls: | 6,656 |
Calls today: | 2 |
Files: | 12,200 |
Messages: | 5,332,151 |
Posted today: | 1 |