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 2673 Apr 1, 2003, 10:14 AM
Thread Re: [kysa] show future date
Paul 2602 Apr 1, 2003, 10:18 AM
Post Re: [Paul] show future date
kysa 2578 Apr 1, 2003, 11:34 AM
Thread Re: [kysa] show future date
Paul 2597 Apr 1, 2003, 12:04 PM
Thread Re: [Paul] show future date
kysa 2539 Apr 6, 2003, 6:59 PM
Thread Re: [kysa] show future date
pugdog 2539 Apr 6, 2003, 7:09 PM
Post Re: [pugdog] show future date
kysa 2519 Apr 7, 2003, 7:49 AM