Week number

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
dellarocco88
Posts: 35
Joined: 07 Apr 2022, 01:34

Week number

Post by dellarocco88 » 28 Jun 2022, 08:30

I want to be able to print out the current week number, but can find a way to do this.

Week := ???
Gui, Add, Text, xm ym vDate, % "Current week is " Week

Any solution to this? :)

BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Week number

Post by BoBo » 28 Jun 2022, 08:32

:arrow: A_YWeek
:arrow: MsgBox % SubStr(A_YWeek, 5, 2)
:arrow: Gui, Add, Text, xm ym vDate, % "Current week is " . SubStr(A_YWeek, 5, 2)

Post Reply

Return to “Ask for Help (v1)”