The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Timestamp issue
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-22-2008
chriss_58 chriss_58 is offline
Registered User
  
 

Join Date: May 2008
Posts: 41
Timestamp issue in perl script language

Hello all,

I have a problem with timestamps in perl.

Suppose we have the following timestamp:
Wed Oct 22 13:20:41 2008 This timestamp is produced with 'localtime' function.
How can i convert the above timestamp to the format:
081022132041

08=2008
10=Oct

Thank you...

Last edited by chriss_58; 10-22-2008 at 08:42 AM..