PHP General :: today date + 1 day.

This thread was displayed: 0 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
oicram
04-06-2007 07:49:22 GMT +2

 The server timezone is different then mine. But I only like to add one more day to the data posted on mysql using php.

here is the code that I use to give the current data:


<?php setlocale(LC_ALL,'pt_PT');print strftime("%Y-%m-%d");? >

how can I ADD one day here??

Márcio

Back | Reply | Quote | Top
oicram
04-06-2007 20:56:48 GMT +2

Done, 

Put this code in a hidden field, and make sure the mask here corresponds to your collection "data screen" in Kollection Control Painel.

 <?php echo date("y-m-d",strtotime("+24 hours")) ?>"

Reply | Quote | Top
Sign In
Sign In to see your information.
© Adobe Systems Romania. All rights reserved.