php date create and check distance between two dates code example Example: php check if date between two dates Current date is between two dates