Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [kysa] show future date

Quote Reply
Re: [kysa] show future date In reply to
I'm sorry to be non-GT library but here's how I'd do it:

Code:
sub {
require POSIX; import POSIX qw/strftime/;
return POSIX::strftime("%Y-%m-%d", localtime(time() + 15552000));
}

The 15552000 assumes there are 30 days in a month.
Subject Author Views Date
Thread show future date kysa 2696 Apr 1, 2003, 10:14 AM
Thread Re: [kysa] show future date
Paul 2625 Apr 1, 2003, 10:18 AM
Post Re: [Paul] show future date
kysa 2600 Apr 1, 2003, 11:34 AM
Thread Re: [kysa] show future date
Paul 2619 Apr 1, 2003, 12:04 PM
Thread Re: [Paul] show future date
kysa 2561 Apr 6, 2003, 6:59 PM
Thread Re: [kysa] show future date
pugdog 2561 Apr 6, 2003, 7:09 PM
Post Re: [pugdog] show future date
kysa 2541 Apr 7, 2003, 7:49 AM