gdave
7 years agoRegular Contributor
Code Expression
Hi
Kindly refere to the attached screenshot before you read the below query so that it will make more sense..
I need to enter today's date in my date cell (called effective end date) for which I used 'Keys' operation and for the 'Value' I used code expression as "aqConvert.DateTimetoFormatStr(aqDateTime.Today(), '%d/%m/%Y')". This however didn't work as expected but surprisingly only date part was executed and I could see the date format as 13/00/0003.
Can someone please advise where have I gone wrong ?
Also I'll appreciate if you can provide me the solution to enter yesterday's date instead of today. Thanks