Questions tagged [period]

A period of time is an interval, a span of time. You can also use it for questions related to the actual punctuation mark.

508 questions
0
votes
1 answer

Time Ago Function with Month and Year Android

I am using time ago function with TimeUnit in one of my android application. But I am success up to days...I want it till month and year. My function is like below....anyone can suggest me how can I increase till year ? private String…
0
votes
1 answer

Delete "updated" image after 5 day Wordpress

I use this code for show updated post. (if post updated show this image). get_the_time('U')) { ?> Updated Now i want…
0
votes
1 answer

Calculate Perod in year months days in javascript when from and to date is input

I am trying to calculate time in year months days in javascript function getMonthsBetween (date1, date2) { 'use strict'; // Months will be calculated between start and end dates. // Make sure start date is less than end date. // But…
Arshad Munir
  • 121
  • 2
  • 12
0
votes
5 answers

How often should I remind the user on "Rate the app" (iPhone)?

I have this application: http://www.youtube.com/watch?v=Tn7_yNt1OaE I made a mechanism that counts the number of times the app has launched, and measure the playtime duration as well. I want to remind the user on she/he can support the development,…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
0
votes
1 answer

How can I calculate average during a period?

I'm trying to have average during a period (for example : last 6 months, last month, last week, ...). For that I created 4 queries. Can I do something clearly? /** ON SELECTED DATE*/ SELECT AVG(RUN_TIME) FROM (SELECT…
Bob
  • 529
  • 1
  • 7
  • 28
0
votes
2 answers

PHP to calculate date range, when one is Y and the other is Y-m-d

In PHP, I would like to calculate the age of a person. For example, Person A was born on "1790-06-09" and died in "1854", but there is also a possibility to have a person B who was born in "1954" and died on "1990-02-05". As one of the dates is not…
user7665853
  • 195
  • 1
  • 15
0
votes
3 answers

Aggregate dates into periods

We have data for 2 months. The date is in the following format: mm/dd/yyyy. We want to have 4 periods (of each 2 weeks): Period1: 06/01/15 - 06/15/15 Period2: 06/16/15 - 06/30/15 Period3: 07/01/15 - 07/15/15 Period4: 07/16/15 - 07/31/15 In this way…
olive
  • 179
  • 1
  • 11
0
votes
0 answers

How to find longest period with negative temperature

I have just 3 columns Station, Datee, Valuee(TEMPERATURE). 50 years of daily temperature. How to find longest period with negative temperature with MS SQL query? Station Datee Valuee London 1/1/1961 2.4 London 1/2/1961 3.2…
0
votes
1 answer

Printing period after putting variable into quotes

The compiler doesn't like me putting the period into quotes after the variable which is in quotes: (userString = "Bob";) \""+userString+ "\"" "."; My desired output is: "Bob". My question is how do I get the compiler to print that period after…
ANC2017
  • 1
  • 1
  • 7
0
votes
0 answers

(Android) Bluetooth LE will be interrupted intermittently

The period was set to 0.1 seconds. but As shown in the screenshot, this data is abnormal. It takes 0.4 seconds once every 10 seconds. The phenomenon occurs regularly every 10 seconds. Please help me!
0
votes
0 answers

teradata remove periods from one table that are in another table

tables for the problem I am trying to remove any periods or part of periods for the same id from one table if the period, or part of the period, appears in another table in Teradata. In the image as a reference. I would like to remove any periods…
JoeM
  • 1
  • 1
0
votes
1 answer

will converting from dateFrom/dateTo to period data type improve performance?

I have a really slow query and I'm trying to speed it up. I have a target date range (dateFrom/dateTo) defined in a table with only one row I need to use as a limit against a table with millions of rows. Is there a best practice for this? I started…
Beth
  • 9,531
  • 1
  • 24
  • 43
0
votes
1 answer

DAX: How to count based on dynamic time period?

I have a data set as presented in the Sample 1 image below, and I need to generate a ratio of events per Serial Number (summary table as shown in the image). The curve ball I got into here is the fact that the count of events ad sub events is…
Marcelo Aguilar
  • 67
  • 1
  • 2
  • 7
0
votes
0 answers

SSRS Chart filter returning no data when using *.*

I have been trying to get a filter to work on SSRS on a chart for the past hour however I am seeing some strange results. If I specify my expression as the below I get no data found: "*.*"+"@domain.com" If I specify the below I get results matching…
0
votes
1 answer

Websocket - best way to space out server response

Well, I have reduced my problem to the following: I have a node.js server sending responses to my WebSocket client (browser) at an interval of 2s. The client code to receive the response is as follows: socket.onmessage = function (message) { …
Kamil
  • 968
  • 1
  • 8
  • 18