Questions tagged [timeslots]

71 questions
0
votes
1 answer

React function generating available time slots doesn't generate the correct time slots

Hi I want to make a function that generates available time slots. It should generate the time slots while keeping in mind that the time slot can't overlap with an already made appointment.Before the time slots are generated a user can specify which…
imkeVr
  • 442
  • 1
  • 7
  • 30
0
votes
1 answer

Hide the count of spaces left from time slots in Woocommerce Bookings

I am using Woocommerce Bookings. When someone books for a certain date/time slot it then shows on the calendar for the next customer that for that specific date/time slot that there are (98 left). Is there any way of removing/hiding this information…
0
votes
1 answer

Editing timeslot for SQL in Python

I have an excel file that consists of hourly basis values, date and time as timeslot. I want to import this excel to PostgreSQL DB, but I need to edit the date and time before. Otherwise its giving error. Editing that date and time in excel also…
0
votes
2 answers

I want to get the timestamp of next day 12PM in PHP

i want to get the timestamp of tomorrow at 12PM, i can do this using the line of code below strtotime('tomorrow noon'); But the problem am having is that, when the current time is 00:00 at midnight, am getting the next day timestamp, i want it such…
Slipstream
  • 15
  • 4
0
votes
3 answers

How to make time slots without the need for real time (it is just simulation)

now i am making a simulation for something and i need to define time slots for it as i can not use the real time . For example , i want to know how many persons entered the bank in the 1st 5 minutes and then in the second 5 mins and so on , i want…
fank
  • 131
  • 2
  • 4
0
votes
0 answers

Free times based on duration - NODEJS

I have a list with busy times. With my code below I have managed to find the free time slots available within the busy times. However I want to find the free time slots based on a duration given. The code below generates my available gaps but I want…
Celeste
  • 3
  • 1
0
votes
3 answers

SQL - Find free slots for booking system

I got a simple mysql table for already booked rooms. Here the sql structure: CREATE TABLE Rooms ( `ID` int, `Description` varchar(50) ); INSERT INTO Rooms values (123, 'Room in Frankfurt'), (234, 'Room in Wiesbaden'), (245, 'Room in…
endcoreCL
  • 29
  • 1
  • 6
0
votes
1 answer

making schedule of given minutes using start time and end time

I am working on booking appointment project. Using start time and end time fromm schedule.I want to make timeslots like below for every day avoiding booked slots. "availableSlots": [ { "start": "10:30", "stop":…
AppS
  • 39
  • 6
0
votes
0 answers

Fullcalendar timeslot height based on content

I would like to expand fullcalendars timeslots height to the content but I do not find in the api how to achieve this. The content is getting ellipsed. How to switch off fullcalendars content ellipsis?
fefe
  • 8,755
  • 27
  • 104
  • 180
0
votes
0 answers

Compare event on fullcalendar

I have had a problem with Fullcalendar for several days. My wish is this: I want to compare different event sources with eventSources; One source that offers availability time slots and another source that retrieves events taken by the user. When…
0
votes
2 answers

php - DateInterval over midnight issue

I want to generate time slots with DateInterval and i have an issue when i select end period over midnight(00:00). Everything generates if my end period is till "23:59". Here is my code with input variables: $duration = 30; // duration…
cipriano
  • 111
  • 2
  • 11
0
votes
2 answers

PHP Mysql Increment Foreign Key

how do i manually increment foreign key. ive got 2 tables table times id-timeslot times ------------------ 1 10:00 2 10:30 3 10:45 4 11:00 5 11:15 6 11:30 table book i have for a…
tonoslfx
  • 3,422
  • 15
  • 65
  • 107
0
votes
3 answers

PHP timeslot booking

regarding of this question.. PHP Booking timeslot I tried 'GROUP BY' id_timeslot still didnt work, as its only showing the booked timeslot not available i tried that solution, but give me an error and not quite understand how to use 'coelence' table…
tonoslfx
  • 3,422
  • 15
  • 65
  • 107
0
votes
0 answers

inserting missing fields in pandas dataframe with duplicated indexes

I have a similar problem to link. The solutions there seem not to work in my particular case. I am thinking this is because the size of the dataframes. I have a df of size (2,018,901 - 6) and a list of length 2,083,656. the purpose of the list (as…
Arraval
  • 1,110
  • 9
  • 20
0
votes
1 answer

Selecting time windows based on availability in SQL

I have a data set with several time windows, an availability indicator and a priority index. Create data set: CREATE TABLE TimeWindows( TimeFrom DATETIME NOT NULL, TimeTo DATETIME NOT NULL, Priority INT NOT NULL, Available BIT NOT NULL ); INSERT…