Hi,
Sorry, was a typo (serves me right posting so late in the evening ;))
Please try this:
# Displays the current date.
Links::init_date();
GT::Date::date_set_format('%yyyy%-%mm%-%dd%');
my $date = GT::Date::date_get();
return $date;
}
I just tested it, and seems to work fine.
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!
Sorry, was a typo (serves me right posting so late in the evening ;))
Please try this:
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;
}
I just tested it, and seems to work fine.
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!