How can I find the date of the first day of the week, given any date of the current week in vb6 or classic asp?
Weekday(date)
This returns an int between 1 and 7 to go to the sun. With this, it's easy to get the date of the first day, but first you need to determine the first day, assuming Sunday ...
DateAdd("d", -Weekday(date)+1, date)
Source: https://habr.com/ru/post/1344211/More articles:Is there a short way to achieve this with CSS? - cssHow to find all elements on a page - javascriptRotation in XNA - c #How to synchronize input with output on terminal? - c ++Using "c" output as "multiple times" - sqlHow to reserve a kernel for one thread in windows? - windowsPython: how to find a value in a list less than the target - pythonWPF precompiled resources in a WinForm application? - winformsjquery ajax call on click, works only once - jqueryHow should threads update global data in the main program? - multithreadingAll Articles