Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Date Global Format

Quote Reply
Date Global Format
Halloos,

Looking at the 'date' global, I wonder how hard it to have the output not take its format from the LinksSQL system but rather in the format of: 110201 (mmddyy)

Here is the original code from globals:

sub {
# Displays the current date.
Links::init_date();
GT::Date::date_set_format($CFG->{'date_user_format'});
my $date = GT::Date::date_get();
GT::Date::date_set_format($CFG->{'date_db_format'});
return $date;
}
Subject Author Views Date
Thread Date Global Format Canoon 1424 Nov 2, 2001, 12:20 PM
Thread Re: [Canoon] Date Global Format
Alex 1365 Nov 2, 2001, 3:03 PM
Thread Re: [Alex] Date Global Format
Canoon 1355 Nov 2, 2001, 3:17 PM
Post Re: [Canoon] Date Global Format
Alex 1341 Nov 2, 2001, 3:24 PM