Hi,
I added the link 4-9-2007 and
the result from the global gave me 1970-01-30
Wow, I'm amazed it worked at all :D There were a couple of typos in it. Should have been $date (not $date1) and also $datenew, not $date_new .
Anyway, Tadats global should do the job (same as mine, but without the typos :D)
Actually - Tadat made the same error as me on one line <G>
use GT::Date;
my $date = $_[0];
my $datenew = GT::Date::date_add($date, 30);
return $datenew;
}
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote:
just tested this and this was the results I added the link 4-9-2007 and
the result from the global gave me 1970-01-30
Wow, I'm amazed it worked at all :D There were a couple of typos in it. Should have been $date (not $date1) and also $datenew, not $date_new .
Anyway, Tadats global should do the job (same as mine, but without the typos :D)
Actually - Tadat made the same error as me on one line <G>
Code:
sub { use GT::Date;
my $date = $_[0];
my $datenew = GT::Date::date_add($date, 30);
return $datenew;
}
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!