Jakemorley
5 years agoChampion Level 0
Solved
Setting a variable as today's date
Anyone able to help me please,
I have avairable which needs to hold todays date plus a keystroke.
the date needs to be in the format dd/mm.
currently I manually change the variable...
- 5 years ago
aqConvert.DateTimeToFormatStr is your key.
code is JavaScript but, hopefully, you get the idea.
var dateToday = aqConvert.DateTimeToFormatStr(aqDateTime.Now(), "%m//%d")
onscreenObject.Keys(dateToday + '[Tab]')