A period of time is an interval, a span of time. You can also use it for questions related to the actual punctuation mark.
Questions tagged [period]
508 questions
0
votes
1 answer
facebook shares/likes over a time period
How can I get the number of FB shares/likes for some FB object over a time period?
For example, I'd like to get how many shares where for some url from January, 1st, 2011 until January, 30th, 2011.

xmak
- 1,060
- 9
- 8
0
votes
3 answers
Number of days by quarter between StartDate and EndDate - SQL Server
I need to fill up columns by number of day in quarters. Time period is about 10 years. Structure of tables is below. Thanks for any suggestions
SELECT StartDate, EndDate
INTO #tmp_RTX
FROM DateTable
StartDate …

Michal
- 27
- 4
0
votes
1 answer
Calculate number of overlapping days between two datesets of periods according to condition and periods (partially) overlapping
Similarly to a question posted here, I want to compute number of overlapping days between two periods conditional on a third variable (location).
For each observation of the main dataset (DF) I have a starting and an end date, and a location…

Caserio
- 472
- 1
- 3
- 14
0
votes
2 answers
how i can show the number after period
i calculate a tow number and i get this answer 9.144E-4
how i can show the real number in android

Itzik
- 1
- 1
- 1
0
votes
1 answer
Trying to calculate the date between Employee's age(period), with the date they were hired(LocalDate). How can I work around the datatype mismatch?
I'm practicing using encapsulation in java to create an Employees profile. I'm trying to include both the employees age - calculated using
private Period age;
private LocalDate currentDate;
private LocalDate dob;
public Period calcAge() {
…

ddalcanto
- 51
- 5
0
votes
1 answer
PHP's DatePeriod class giving inaccurate results
I have the following simple PHP code:
$timeRange = new DatePeriod(
new DateTime('09:00:00'),
new DateInterval('PT30M'),
new DateTime('18:00:00')
);
foreach ($timeRange as $time) {
$options[$time->format('H:m')] =…

Spudley
- 166,037
- 39
- 233
- 307
0
votes
1 answer
Number of customers in a given month if new customers leave after x number of months
How do I calculate total customers in a month as new customers join and old customers leave based on customer retention input.
Example:
Number of months customer stays: 3 (could be anywhere between 1-10; this input should drive row 2 ? below)…

ExcelSurvival
- 1
- 1
0
votes
1 answer
How to sort dates in text file using Windows Batch
I am a beginner in batch scripting, trying to sort a text file and get the highest date in a year. Tried different options to sort text file based on date and remove duplicate lines, and finally get the highest period for each year into a different…
0
votes
1 answer
how to subset time period from 1.1.1961 to 31.12.2010 in R
I need a help with subseting a time period from 1.1.1961 to 31.12.2010. My data are txt files (names are for example 5020.txt, 4050.txt,8070.txt...). Each txt file consists of day, month, year and Qmax
day month year Qmax …

rominka198
- 1
- 4
0
votes
2 answers
Elimination of observations that do not vary over the period with R (r-cran)
Good evening!
I have a base with the following characteristic:
Year source destination HS04 value
1989 ARG BRA 0101 1
1989 ARG BRA 0102 0
1989 ARG BRA 0103 0
1989 ARG …

Alexandre Loures
- 211
- 1
- 12
0
votes
1 answer
How to do logical operations on time periods in Postgres?
I have some time periods:
Mobile Event Time
A START 13:00
B START 13:05
A STOP 14:00
B STOP 14:05
A START 15:00
A STOP 16:00
How can I do logical operations on such data, such that I can get:
Mobile Event Time
A | B…

fadedbee
- 42,671
- 44
- 178
- 308
0
votes
2 answers
Get the Period between two local date instances like P1Y2M10DT2H30M
How can I obtain the Period between two different LocalDate instances using Java.
I googled, not able to find it.

pandiaraj
- 580
- 1
- 6
- 18
0
votes
2 answers
Days Array to Periods
I have an array of days that is similar to the following:
array(10) {
[0]=>
string(8) "01/06/18"
[1]=>
string(8) "02/06/18"
[2]=>
string(8) "03/06/18"
[3]=>
string(8) "11/06/18"
[4]=>
string(8) "12/06/18"
[5]=>
string(8)…

Combinu
- 882
- 2
- 10
- 31
0
votes
0 answers
Creating new Files after a specific period of time Apache Camel File
I have this camel route that consumes from Kafka in a constant flow. Is there some way to define that in each 10 min, for example,
a new file be created? I need that each file has different names since when a file cannot have the same name as other.…

Erick Roseira
- 13
- 1
- 5
0
votes
1 answer
How to get an object parameter with Android Service periodically?
My problem is: I have an application that is monitoring a car in real time.
I connected the car to my phone, make an object from it, but I don't know how to get this object parameters in background in every 1 sec. My first idea was Android Service,…