[Ilugc] Help required for date manipulation in linux

  • From: raja82itmk@xxxxxxxxx (Raja Mahalingam)
  • Date: Tue, 8 Jul 2014 16:11:54 +0530

Hi ,

I am working on script creation for user audit report and last command
doesn't o/p the year.
I need to find year of the given date of month and day on linux box.
Need to check only for past 10 years.
example :

  input  = Thu Apr 15
 Required o/p 20140415

Any unix/linux commands or perl function would be good.



-- 

Regards ,

  Thanks & Regards ,
  Raja Mahalingam
  Mobile: +91 9790963356

Other related posts: