IanWaterman
Programmer
I have a field which holds credit card expiry
1113 which is MMYY
Is there an easy way to convert this to last day of that month.
I can only think to break up and create first of month by casting elements to number and then converting to date, then use dateadd to add a month and then subtract 1 to get back to last day of month.
Thanks
Ian
1113 which is MMYY
Is there an easy way to convert this to last day of that month.
I can only think to break up and create first of month by casting elements to number and then converting to date, then use dateadd to add a month and then subtract 1 to get back to last day of month.
Thanks
Ian