Results 1 to 5 of 5

Thread: Return expiry date in another format

  1. #1
    Thread Starter
    Veteran hugo's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    310
    Thanks
    13
    Thanked 80 Times in 54 Posts

    Return expiry date in another format

    Im wanting to add a meta post expires tag into my header for single ads, this tag will show the ad expiry date and inform google that it is a limited time page so that when expired the link should return a 410 and be removed from serps.

    As it stands now the ad expiry date is in this format 30 days, 22 hours im not too hot at php / unix timestamps so how can i get it to format so that it would be returned as April 4, 2011 10:22 am

    thanks
    hugo
    My Classipress Suggestion: http://ideas.appthemes.com/forums/84...ents?ref=title vote if you like!

  2. #2
    Thread Starter
    Veteran hugo's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    310
    Thanks
    13
    Thanked 80 Times in 54 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    My Classipress Suggestion: http://ideas.appthemes.com/forums/84...ents?ref=title vote if you like!

  3. #3
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,782
    Thanks
    185
    Thanked 741 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  4. #4
    Marketplace Seller mr_green's Avatar
    Join Date
    Aug 2010
    Posts
    951
    Thanks
    113
    Thanked 192 Times in 147 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Best

  5. #5
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,782
    Thanks
    185
    Thanked 741 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Disable Expiry Date
    By schedule in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: January 21st, 2011, 09:48 AM
  2. Job Expiry date jobroller
    By geneci in forum Report JobRoller Bugs
    Replies: 8
    Last Post: November 9th, 2010, 01:36 AM
  3. Setting Ad Expiry by date.
    By strategicdm in forum Help Using ClassiPress
    Replies: 3
    Last Post: July 9th, 2010, 01:01 PM