I am getting date-time strings in the format "2021-04-25 04:27:35" (YYYY-MM-DD hh:mm:ss) and need to convert them to "2021w18". I must get the weeknumber and I already have the below in my perl script.
use Time::Piece;
use POSIX qw(strftime);
Any help will help me progress beyond "newbie".