Ah, well there is our problem <G>
Try this for the "date" sum (rename the global to something else, if you are using the <%date%> sub anywhere else)
# Displays the current date.
Links::init_date();
GT::Date::date_set_format('%yyyy%-%mm%-%dd%');
my $date = GT::Date::date_get();
return $date;
}
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!
Try this for the "date" sum (rename the global to something else, if you are using the <%date%> sub anywhere else)
Code:
sub { # Displays the current date.
Links::init_date();
GT::Date::date_set_format('%yyyy%-%mm%-%dd%');
my $date = GT::Date::date_get();
return $date;
}
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!