Try this global (totally untested);
get_current_date_stamp
GT::Date::set_date_format("%dddd% %dd% %mmmm%, %yyyy%, %HH%:%MM%");
my $date = GT::Date::date_get();
GT::Date::set_date_format("%yyyy%-%mm%-%dd%"); # set back to yyyy-mm-dd format, otherwise can cause other problems
return $date;
}
..then just call with:
<%get_current_date_stamp%>
Hope that helps.
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!
get_current_date_stamp
Code:
sub { GT::Date::set_date_format("%dddd% %dd% %mmmm%, %yyyy%, %HH%:%MM%");
my $date = GT::Date::date_get();
GT::Date::set_date_format("%yyyy%-%mm%-%dd%"); # set back to yyyy-mm-dd format, otherwise can cause other problems
return $date;
}
..then just call with:
<%get_current_date_stamp%>
Hope that helps.
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!