Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users
Story->get_cover_date (minus x days)
 

Index | Next | Previous | View Flat


bryancarney at gmail

Jul 18, 2012, 2:42 PM


Views: 1350
Permalink
Story->get_cover_date (minus x days)

I had to go a bit roundabout to get the date in my desired format, but 7
days prior to a cover date because I can't find documentation on the
options of story->get_cover_date or an alternative

i.e.:

my $coverdate = $story->get_cover_date;
my $coverdateobj = str2time($coverdate);
my $coverdateobjweek = ($coverdateobj - (3600 * 24 * 7));
my $coverstring = time2str('%e %B %Y', $coverdateobjweek);


Can someone recommend some reading?

Thanks kindly,

Bryan

Subject User Time
Story->get_cover_date (minus x days) bryancarney at gmail Jul 18, 2012, 2:42 PM
    Re: Story->get_cover_date (minus x days) ps at phillipadsmith Jul 18, 2012, 4:24 PM
    Re: Story->get_cover_date (minus x days) david at justatheory Jul 19, 2012, 4:40 AM
    Re: Story->get_cover_date (minus x days) bryancarney at gmail Jul 19, 2012, 5:49 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.