Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

Re: [ic] [perl]



I believe you can only return one item. So just cat everything together in
one return:

return $ano . "/" . $mez . "/" . $dia;

Brian

----- Original Message -----
From: <yann.carlier@inteliware.net>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 06, 2001 4:07 AM
Subject: [ic] [perl]


I want to display this date 20010701 in this format 01/07/001
why this doesn't work?

[perl]

$data=[item-field noticia_dataactivacao];

$ano = substr($data, 0, 4);
$mez = substr($data, 4, 2);
$dia = substr($data, 6, 2);

return $ano;
return "/";
return $mez;
return "/";
return $dia;

[/perl]

Yann carlier
+351-21-4527104/5
www.inteliware.net
yann.carlier@inteliware.net




Search for: Match: Format: Sort by: