Jump to content

Archived

This topic is now archived and is closed to further replies.

zawadi

futrue date

Recommended Posts

Hi, I have been working on a help system and have got a lot of it done. But I am now stuck, I want to take a date/time stamp and see if it is the working day and if not then add hours and minuets to it to get a date/time stamp in the next day. but Ican see the logic, HELP ???

Share this post


Link to post
Share on other sites
1) Check if the time stamp is a working day using the date() function.
2) If not add 60*60*24 (the seconds in one day) to the timestamp.

Orio.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.