ShopWindow Forum  

Go Back   ShopWindow Forum > ShopWindow API v3 > API Bug Reports v3
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #11  
Old 25-09-09, 14:45
currentstyle's Avatar
currentstyle currentstyle is offline
ShopWindow Pro
 
Join Date: Nov 2008
Posts: 77
And, thank you for pointing out the flaws, the updated code has gone straight onto my sites.

This is how it's supposed to work
__________________
Easy New Shop A work in progress
Reply With Quote
  #12  
Old 25-09-09, 17:24
ljackson09 ljackson09 is offline
ShopWindow Pro
 
Join Date: Jun 2009
Posts: 93
no worries mate

Luke
Reply With Quote
  #13  
Old 08-11-09, 00:20
infocraze infocraze is offline
Active Member
 
Join Date: Oct 2008
Posts: 19
Thanks for this code which has been really helpful.

The code $sEndDate = $sEndDate[2].'/'.$sEndDate[1].'/'.$sEndDate[0]; now returns date with time that distorts the format of expiry date. Whats the workaround?

Reversing the order i.e $sEndDate = $sEndDate[0].'/'.$sEndDate[1].'/'.$sEndDate[2];works well but gives the date in the format yyyy-mm-dd which is somehow confusing as it is not in UK format.
__________________
Beautify your garden with low priced LawnMowers
Reply With Quote
Reply


Thread Tools
Display Modes

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
Forum Jump


All times are GMT +1. The time now is 15:19.