I am using VBScript within ASP code. I have a form in which a user enters a booking time this is then compared to booking times already booked in a database. What I am using the VBScript for is I am trying to if the time entered in the form is equal to a time held in the database and also if their are times in the range of the time entered by the user plus 15 minutes and less than 15 minutes. So any times that are between the time range plus 15 minutes either way then a booking cannot be made as bookings can only be made 15 minutes apart from each other.
I have tried using Between but the ASP page doesn't seem to like this any suggesions wiuld be welcome.
Thanks.
I have tried using Between but the ASP page doesn't seem to like this any suggesions wiuld be welcome.
Thanks.