Created
June 10, 2019 11:20
-
-
Save stasgm/e297a1dddadb68b0dbb33cef51bf12d5 to your computer and use it in GitHub Desktop.
VBS first and last day of the month
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FirstDayCM = DateSerial(year(date), Month(date), 1) ' Первый день текущего месяца | |
LastDayCM = DateAdd("m", 1, FirstDayCM) - 1 ' Последний день текущего месяца |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment