Skip to content

Instantly share code, notes, and snippets.

@adnan360
Created January 5, 2017 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adnan360/da1e0d0fb46f7b35f09983f182efca2d to your computer and use it in GitHub Desktop.
Save adnan360/da1e0d0fb46f7b35f09983f182efca2d to your computer and use it in GitHub Desktop.
Booked plugin - test timestamp (fix)
$start_timestamp = strtotime('-1 second',strtotime($year.'-'.$month.'-'.$day.' 00:00:01'));
$end_timestamp = strtotime('+1 second',strtotime($year.'-'.$month.'-'.$day.' 23:59:58'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment