Jakemorley
6 years agoOccasional Contributor
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...
- 6 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]')