Datetime is not changing to what I pick

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
danowelton
Posts: 2
Joined: 07 Feb 2020, 15:14

Datetime is not changing to what I pick

07 Feb 2020, 15:34

It seems stuck on just today's date
Gui, Add, Text, x7 y690, PTD Date:
Gui, Add, DateTime,x120 y690 vPtdDate,
FormatTime, time, %PtdDate%, MM/dd/yyyy
User avatar
TLM
Posts: 1608
Joined: 01 Oct 2013, 07:52
Contact:

Re: Datetime is not changing to what I pick

07 Feb 2020, 16:46

You can pre-select a date by using the Choose option like this:Gui, Add, DateTime, x120 y690 vPtdDate Choose20250802
See Choose for more info.

To return the picked time try using a g-label like this:

Code: Select all

Gui, Add, Text, x7 y690, PTD Date:
Gui, Add, DateTime, x120 y690 vPtdDate gGetDate
Gui, Show
return

GetDate:
FormatTime, time, %PtdDate%, MM/dd/yyyy
ToolTip % time
return
danowelton
Posts: 2
Joined: 07 Feb 2020, 15:14

Re: Datetime is not changing to what I pick

11 Feb 2020, 14:07

That did it!!!
Rockstar say WHAT????!!!!
You are the best!!! :bravo:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada, OrangeCat and 191 guests