3 ms·
If you have a decent datetime library or proper datetime implementation like in SQL, you can just use the first day of the next month minus 1 day.
by DrScump 9y ago
If you have a decent datetime library or proper datetime implementation like in SQL, you can just use the first day of the next month minus 1 day.