Ask Experts Questions for FREE Help !
Ask
    dranjann's Avatar
    dranjann Posts: 1, Reputation: 1
    New Member
     
    #1

    Mar 2, 2009, 10:10 AM
    Perl script on date format
    Hi all,

    Need a help on this: I have a input txt file with pipe separated data as follows:
    1001|000725806707|0|01/29/2012|||6|0|||
    1001|000339308645|1|08/24/2010|||9|0|||

    I need a perl script that will read this file and convert the date to 2012/01/29 00:00:00 format and write the data to a new file. Any help will be highly appreciated.
    Regards, Dibya

Check out some similar questions!

SAS code to Format decimal places and julian date [ 2 Answers ]

I am working with a data set that I would like to link with another data set. However, I need to do two thing before linking the two data set together. One is that I have a variable claim that I need to format. The variable has values 250, 5525 etc and I need to place a period to make it 2.50,...

Access: Date Format using slashes but america dates come up [ 6 Answers ]

I want for e.g.. 02/11/07 applied to my dates. ( 2nd November 07) How do I customise it. Help appreciated using slashes and days before month

Wrong date format I can't change. [ 8 Answers ]

I'm using MS Works 8.5. When I click on Format/Number/Date the exact format I want is not shown and the preview is often different from that. i.e. it shows as say 31/8/07 and I want 8/31/07 as I'm in Australia. How can I change it to what I want? Help would be much appreciated. Stuartp77

Date and time script [ 4 Answers ]

Does anyone know a script where I program in the dates and times and from say 8th January from 5.15 until 7.30 it takes you too page2 and after that it carries on taking you to the normal page then on the next date it does the same again so say the 12th from 8am-8.45. Thanks


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.