dtdetu Posted September 18, 2009 Share Posted September 18, 2009 hello, i am making a script and i need to check if current date is between mon - thru friday 8 am 5:30 pm , i tried many things but couldnt get it work, can you take a look please , thanks Quote Link to comment Share on other sites More sharing options...
zq29 Posted September 18, 2009 Share Posted September 18, 2009 Maybe you could post up what you have tried, and we can guide you as to where you're going wrong? Quote Link to comment Share on other sites More sharing options...
dtdetu Posted September 18, 2009 Author Share Posted September 18, 2009 i am trying to convert current 8 am to str time but doesnt work, if i can convert it i can check it with current time(); $date=date("l \\t\h\e jS"); echo strtotime("$date 8 AM"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.