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 Link to comment https://forums.phpfreaks.com/topic/174757-date-help/ 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? Link to comment https://forums.phpfreaks.com/topic/174757-date-help/#findComment-920957 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"); Link to comment https://forums.phpfreaks.com/topic/174757-date-help/#findComment-920964 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.