Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

xavier
2006-10-17 09:47:03

thanks

plegall
2006-10-16 18:08:53

Or more readable:

Code:

my ($dd, $mm, $yyyy) = split '/', $row[column];
$row[column] = join('-', $yyyy, $mm, $dd);
plegall
2006-10-16 17:53:40

In a tPerlRow:

Code:

$row[column] = join(
    '-',
    (split '/', $row[column])[2,1,0]
);
xavier
2006-10-16 17:20:25

I have a date in this format 'dd/mm/yyyy' and i would like in this format 'yyyy-mm-dd'. How can i do ?

Board footer

Powered by FluxBB