Dear sirs/madams
I am not sure whether or not this question has already been answered, but I am completely new to perl and my problem is as follows:
I have comma separated values in a text file, which I need to do some stuff with, and the data starts with a timestamp, i.e. on the form "2008-06-13 15:25:00" (the quote marks are part of the data). I need to fish the year, day, hour and minute from this timestamp as seperate integers. Does anyone have a solution how to do this?
Best regards, Sigurjon
I am not sure whether or not this question has already been answered, but I am completely new to perl and my problem is as follows:
I have comma separated values in a text file, which I need to do some stuff with, and the data starts with a timestamp, i.e. on the form "2008-06-13 15:25:00" (the quote marks are part of the data). I need to fish the year, day, hour and minute from this timestamp as seperate integers. Does anyone have a solution how to do this?
Best regards, Sigurjon
Comment