Gossamer Forum
Quote Reply
show future date
I'm not having much success trying to create a global that will show the date (in YYYY-MM-DD format) six months from the current date. I think I'm making this much harder than it is. Here is the global for showing the current date:
Code:
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;
}


Any ideas on how to show six months from current date (YYYY-MM-DD)?
Subject Author Views Date
Thread show future date kysa 3375 Apr 1, 2003, 10:14 AM
Thread Re: [kysa] show future date
Paul 3298 Apr 1, 2003, 10:18 AM
Post Re: [Paul] show future date
kysa 3267 Apr 1, 2003, 11:34 AM
Thread Re: [kysa] show future date
Paul 3293 Apr 1, 2003, 12:04 PM
Thread Re: [Paul] show future date
kysa 3235 Apr 6, 2003, 6:59 PM
Thread Re: [kysa] show future date
pugdog 3235 Apr 6, 2003, 7:09 PM
Post Re: [pugdog] show future date
kysa 3204 Apr 7, 2003, 7:49 AM