StringToDate((YearFromDate(CurrentDate())-1):"-12-01", "%yyyy-%mm-%dd")
The above 1 works for me, Thanks for all
Date conversation
Moderators: chulett, rschirm, roy
O yea. I , also forgot to mention, you dont need to change integer to string in order to concatenate it. The DecimalToString() was the culprit. Get rid of it and you will be fine. If you noticed, I did the same for the second piece.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.