in reply to Finding End of Month's date

You should pick the module and learn to use it yourself, but in general: add one day to the date; if the result is the first day of a month, the date used was obviously the last one.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }