Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
1 answer
62 views

📝 Body I have a Mongo collection CollectionA where each top-level object contains a nested array of meetings now each meetings have start and end times, for example: CollectionA = [ { &...
LEO_007's user avatar
  • 51
0 votes
1 answer
63 views

Similar to this SO question, how to convert a tstzrange value to daterange (ignoring the time part) ? alter table x alter column y type daterange using y::daterange; Ouput: ERROR: cannot cast type ...
Code4R7's user avatar
  • 3,152
3 votes
3 answers
151 views

I have a table which has 3 columns: task_name -- data type is varchar(50) start_date -- data type is date end_date -- data type is date I want to list the dates which fall within the range (between ...
srh's user avatar
  • 1,729
0 votes
1 answer
68 views

I need to calculate OEE (Overall Equipment Effectiveness) for a set of production data given a start and end timestamp. The value I'm stuck on is Availability %, which is (time running/time requested) ...
PenMonk's user avatar
  • 33
2 votes
2 answers
100 views

I have a collection of user data as follows: user start end John Doe 2025-03-21 11:30:35 2025-03-21 13:05:26 ... ... ... Jane Doe 2023-12-31 01:02:03 2024-01-02 03:04:05 Each user has a start and end ...
Adam Stewart's user avatar
  • 2,223
1 vote
2 answers
78 views

I have a set of database tables in Microsoft SQL Server "in the example flattened to keep this example easy" that is a bunch of time clock records for employees that looks like this. Call ...
John Wesley Gordon's user avatar
2 votes
2 answers
73 views

In a table, I have plan details of customers with their customer_id and enroll_date. Now, I want to identify duplicate and valid enrollments from the overall data. Duplicate: If a customer enrolls a ...
Lakshmi Sruthi K's user avatar
-2 votes
2 answers
79 views

I am trying to count number of overlapping events between dates in SQL. Let’s assume some dates for room reservations in a hotel. Like this: start end 14.01.2024 17.01.2024 15.01.2024 17.01.2024 17.01....
AstA's user avatar
  • 11
-1 votes
1 answer
113 views

We're working on migrating data from a legacy application and have a requirement to get all the consecutive SESSION START_DATE & END_DATE. For the SESSION_ID - 8642, SESSION_TYPE - 3256, based on ...
pbj's user avatar
  • 719
0 votes
0 answers
146 views

I'm new to Pinescript language in Tradingview. I want to backtest a simple day trading strategy where I buy $4000 worth of AAPL shares everyday at market open (9:30 AM EST) and sell them 1 minute ...
schaicg's user avatar
-1 votes
2 answers
129 views

I have an export to a .xlsx spreadsheet in Excel which is generated when the user supplies a date range and the car name. This works at the moment and displays the data correctly. The file name must ...
Need Help's user avatar
0 votes
1 answer
73 views

I'm working on a R Shiny app that used to load the data from a CSV file and display it on a plot. The user had the ability to do some filtering via dropdowns and dateRangeInput selectors. My goal is ...
Caligula's user avatar
  • 105
0 votes
0 answers
32 views

I want to check for a date range of interest but the problem is that one of my constraints is dependant on records before data range. My example is that I'm interested in novice race records from 2018 ...
Eoin Vaughan's user avatar
-3 votes
1 answer
174 views

Update: Here is what I am trying to do. I have 3 columns of random dates; I'd like to combine these in one array and produce a column containing ONLY Friday dates (i.e., for weeks in which a date ...
Badr VA's user avatar
0 votes
1 answer
50 views

Problem: I'm working on an ASP.NET WebForms application where I need to filter records in a DataTable based on a date range. The date range is selected using FromMonth, ToMonth, FromYear, and ToYear ...
Mangala's user avatar
0 votes
1 answer
133 views

I am fairly fresh here so please forgive me if this has been asked previously. I have a data model in MS PowerBI which has a date table and a fact table with two date columns (ME_PostDate, ME_Rec_Date,...
user3385529's user avatar
-2 votes
2 answers
720 views

Much appreciate all of you for helping me to solve my case in Excel. I want to create a date range in Excel but the data I have will have a lot of repetition because it is based on the ticket creation ...
Joinnes's user avatar
  • 25
0 votes
2 answers
76 views

I have a date range 2023-11-01 to 2024-01-04 and some date have different MinStay value. This is my array of date range $input = [ [ 'date' => '2023-11-01', 'MinStay' => 1 ], [ 'date' => '...
Hola's user avatar
  • 23
0 votes
1 answer
55 views

I have a table with proper partition. Code snippet: CREATE TABLE RSA_DBA.RSA_ADHOC_ACCT ( RSA_ACCT_DTL_GID NUMBER(12,0) NOT NULL, EFF_DT DATE NOT NULL, RSA_CMPSN_REC_GID NUMBER(12,0), ...
Pooja's user avatar
  • 333
0 votes
1 answer
53 views

My previous question 1 was about managing empty dateRangeInput(). My previous question 2 was about error-handling when an initial date is posterior to an end date. I have integrated the solutions to ...
firuz.safaev's user avatar
1 vote
2 answers
757 views

I am using Python and I am reading the documentation and using the Get request to search for Flights under a certain price for a project in my online course. I am able to get my requests to go ...
Taylor Python's user avatar
0 votes
2 answers
208 views

I have implemented below code to get date range - from datetime import timedelta, date,datetime def daterange(date1, date2): # Iterate over the range of days between date1 and date2 for n in ...
emiley mille's user avatar
1 vote
1 answer
270 views

I have a dataframe with a date start and date end (Start Promotion and End Promotion). I would like to use Python Polars to create a new column (from the previously mentioned columns) that will be an ...
ikebeau's user avatar
  • 27
-2 votes
1 answer
76 views

I have a list of weeks for 2024: wks = [2,3,4,5,6,7...18] How can I extract the dates that correspond to each week, bearing in mind, that the week starts on a Tuesday? As Jan 1, 2024 was Monday, I ...
frank's user avatar
  • 3,816
2 votes
2 answers
122 views

I'M trying to query based on start and end period dates with MS ACCESS in VB.NET Table ABSEN can union with table HELPERABSEN so I want to take the start date and end date from the table PERIOD with ...
Tam88's user avatar
  • 81

1
2 3 4 5
34