Right :)
Now it returns the proper day difference.
my $added = GT::Date::date_get($_[0]);
return GT::Date::date_diff(GT::Date::date_get(), $added);
}
It should be called with:
Cheers,
Boris
Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins
Now it returns the proper day difference.
Code:
sub { my $added = GT::Date::date_get($_[0]);
return GT::Date::date_diff(GT::Date::date_get(), $added);
}
It should be called with:
Code:
<%work_out_days_diff($Add_Date_time)%>Cheers,
Boris
Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins