OWS Deals/Coupons Website Script OWS Deals/Coupons Datafeed
Automatic Link to "Affiliate Link" Transformation
Demo View Demo
Check it out now!
Get Support Get Support
Submit a Request
Contact Us Contact us!
Have questions?
 UserCP  FAQ | Chat | Calendar | Search | Rules | 0 New Posts

   Nav: ABW > Forum > Programming / Coding / Datafeeds > OWS Software

U: P:        

Change Date Format


Reply Post New Thread
 
Tools Search Display
Similar
  #1    
Old July 4th, 2009, 03:47 PM
interfx interfx is offline
Newbie
 
Join Date: April 29th, 2009
Posts: 24
Default Change Date Format

This might be a very simple question, but where do I chnage the date format?

2009-07-04 Saturday, July 4, 2009

To only read as

Saturday, July 4, 2009

Thanks in advance -
Reply With Quote
  #2    
Old July 6th, 2009, 02:30 AM
OWS Software's Avatar
OWS Software OWS Software is offline
Affiliate Manager
 
Join Date: March 14th, 2009
Location: Ringwood, NJ
Posts: 303
Send a message via ICQ to OWS Software Send a message via AIM to OWS Software Send a message via MSN to OWS Software Send a message via Yahoo to OWS Software
Default

http://www.smarty.net/manual/en/lan...date.format.php for tpl files

or

http://www.php.net/manual/en/function.date.php for php files. (you need /includes/functions/deals.php - getDealDetails function)
__________________
Michael, OWS Software, Inc
Do you want to make money with your own 100% automated Deals/Coupons Website?
[Deals/Coupons Website Script, Datafeed and Services]
Reply With Quote
  #3    
Old July 6th, 2009, 06:05 AM
interfx interfx is offline
Newbie
 
Join Date: April 29th, 2009
Posts: 24
Default

Thnaks, I apologize - but what files do I need to modify to change the date format?
Reply With Quote
  #4    
Old July 6th, 2009, 10:11 AM
OWS Software's Avatar
OWS Software OWS Software is offline
Affiliate Manager
 
Join Date: March 14th, 2009
Location: Ringwood, NJ
Posts: 303
Send a message via ICQ to OWS Software Send a message via AIM to OWS Software Send a message via MSN to OWS Software Send a message via Yahoo to OWS Software
Default

It really depends on what date you like to format. Most probably its expiration date and/or "posted" date. Then you need to change deal.tpl and coupons.tpl

look for something like: {$deal.creation_date|date_format:"%m/%d/%y"}
__________________
Michael, OWS Software, Inc
Do you want to make money with your own 100% automated Deals/Coupons Website?
[Deals/Coupons Website Script, Datafeed and Services]
Reply With Quote
  #5    
Old July 6th, 2009, 09:38 PM
interfx interfx is offline
Newbie
 
Join Date: April 29th, 2009
Posts: 24
Default

Thnaks, I actually fund it in the home.tpl file, and it apperas the template had an extra {$name}, which caused the date to be shown twice...

Works great now!
Reply With Quote
Reply Post New Thread
 

 

 

Tools Search
Search:

Advanced Search
Display

Forum Jump
 
Posting Rules
You may not post new threads, You may not post replies, You may not post attachments, You may not edit your posts

vB code is On | Smilies are On | [IMG] code is On | HTML code is Off


All times are GMT -5 - The time now is 12:41 AM

Content may not be republished, in any manner, without prior written permission, violators WILL be Prosecuted.
The views and opinions expressed are strictly those of the individual poster, the contents herein may not have been reviewed.

Trademarks are property of their respective owners.
(C) 2001 - 2009 - ABestWeb - All Rights Reserved