[Solved] Subtracting no of days with system date and converting to MMDDYYYY format in perl [closed]
[ad_1] I was close to closing this question as you didn’t include your workings. But I’ve seen your comment – you should edit your question to include that. So here’s your code: use POSIX ‘strftime’; print strftime “%Y_%m_%d_%H_%M_%S/n”, localtime() – 24 * 60 * 60); That’s pretty close. You have three small issues. You have … Read more