¡@

Home 

php Programming Glossary: date0

Calculating working hours between two dates

http://stackoverflow.com/questions/8914360/calculating-working-hours-between-two-dates

check if the current timestamp is inside working hours date0 mktime beg_h beg_m 0 date 'n' current_date date 'j' current_date.. it's before working hours let's update it if current_date date0 current_date date0 date3 mktime end_h end_m 59 date 'n' current_date.. hours let's update it if current_date date0 current_date date0 date3 mktime end_h end_m 59 date 'n' current_date date 'j' current_date..