View Single Post
  #5  
Old 02-29-2008, 04:48 AM
 
Tony Pearce Tony Pearce is offline
 

eXpert
  
Join Date: Apr 2004
Location: Totnes, Devon, UK
Posts: 217
 

Default Re: Time based shipping message

Hi,

If I wanted to mix 2 variables, for example:

if (strftime("%A") =="Friday") AND ( strftime("%H") < 14 ) {
echo "Courier orders placed today will not be dispatched until Monday for delivery on Tuesday";
}

Any idea how would I do that?

Thanks for all your help so far.

Tony
__________________
X Cart version 4.1.9, 4.1.10, 4.1.11, 4.1.12
(Looking after 15 stores)
Just started 4.4.1 for client....
One Page Checkout, On-Sale, Dynamic Images ++++ Loads of others.
+ 2 Multi Domain stores on 4.1.9
Reply With Quote