Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [incik] Add_Date Global ?

Quote Reply
Re: [incik] Add_Date Global ? In reply to
Hi,

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 Wink.

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!
Subject Author Views Date
Thread Add_Date Global ? incik 7491 Apr 5, 2007, 4:21 AM
Thread Re: [incik] Add_Date Global ?
Andy 7425 Apr 5, 2007, 8:44 AM
Thread Re: [Andy] Add_Date Global ?
incik 7387 Apr 9, 2007, 8:33 PM
Post Re: [incik] Add_Date Global ?
tandat 7383 Apr 9, 2007, 10:41 PM
Thread Re: [incik] Add_Date Global ?
Andy 7415 Apr 10, 2007, 12:53 AM
Thread Re: [Andy] Add_Date Global ?
incik 7422 Apr 10, 2007, 6:35 AM
Thread Re: [incik] Add_Date Global ?
Andy 7378 Apr 10, 2007, 7:42 AM
Thread Re: [Andy] Add_Date Global ?
incik 7375 Apr 10, 2007, 8:16 AM
Thread Re: [incik] Add_Date Global ?
Andy 7365 Apr 10, 2007, 8:23 AM
Thread Re: [Andy] Add_Date Global ?
incik 7447 Apr 10, 2007, 9:16 AM
Thread Re: [incik] Add_Date Global ?
Andy 7406 Apr 10, 2007, 9:30 AM
Thread Re: [Andy] Add_Date Global ?
incik 7395 Apr 10, 2007, 9:39 AM
Thread Re: [incik] Add_Date Global ?
Andy 7395 Apr 10, 2007, 10:01 AM
Thread Re: [Andy] Add_Date Global ?
incik 7365 Apr 10, 2007, 10:04 AM
Post Re: [incik] Add_Date Global ?
Andy 7375 Apr 10, 2007, 10:08 AM