Page 1 of 1

String - last day in the month

Posted: Wed Nov 15, 2017 7:34 am
by tvonbrasch
Hi

I have a daily workpage. I want a string that gives me the last day in a given month, i.e for a given year YYYY and month MM, how can I get the last day of that month?

Code: Select all

string %DD=  ??


Thomas

Re: String - last day in the month

Posted: Wed Nov 15, 2017 8:32 am
by EViews Gareth
On my phone so can’t test it, but a combination of @datestr and @dateceil should do it.