autohotkey current date code example
Example: autohotkey ahk current date
Option1:
StringTrimRight, date2, A_Now, 6 ;Trim 6 Characters from YYYYMMDDHHMMSS
Tooltip, %date2%
Option2:
Tooltip, %A_YYYY%-%A_MM%-%A_DD% ;Direct code YYYY MM DD
Option1:
StringTrimRight, date2, A_Now, 6 ;Trim 6 Characters from YYYYMMDDHHMMSS
Tooltip, %date2%
Option2:
Tooltip, %A_YYYY%-%A_MM%-%A_DD% ;Direct code YYYY MM DD