Midnight ... your server time ... you can manually type that in as it really isn't a calculation ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Code:$return_button = 'Coming Soon!!<br />Count Down to Midnight in: ' . date_diff($button_check->fields['products_date_available'], date('Y-m-d H:i:s', time())) . ' Days!';
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
It is just text ... you can make it:
Fred is bringing it at 7:03am ...
But it comes at midnight based on Server time ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Custom coding would be required ...
And right now, that is a lot more than tossing out a few lines of code for this ...
This is not impossible to do by any means, I just cannot afford the time to hunt these coding changes down for you ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Me + Zen = Truehart Treasures
Sorry, one more question! What does this part of the code mean?
When I quickly looked at it before, I only really "noticed the H and S part and thought it would start counting down hours and minutes at some point. THEN I looked again and realized that there was an I in there, and realized that Ummmmm.....that's NOT hours, minutes, and secondsdate('Y-m-d H:i:s', time()))
What DOES that mean?
Me + Zen = Truehart Treasures
Bookmarks