Questions tagged [minute]

154 questions
0
votes
1 answer

Extract Minutes Control from time picker in android

Hi can any tell me how to get a control similar to the minutes control in time picker control. Is there any other way of achieving it. All that i need is just the minutes selector. Thanks in Advance
Dinash
  • 3,027
  • 4
  • 32
  • 45
0
votes
1 answer

Run python script like a service with Twisted

I would like to run this script like a automatic service who will run every minute, everyday with Twisted (I first tried to 'DAEMON' but it seems to difficult and i didn't find good tutos to do it, I already tried crontab but that's not what I'm…
user11441463
0
votes
3 answers

How to get minutes in the form of hours days weeks months years PHP

I am struggling very hard to achieve this but the results are not what i am trying to get.The result values are wrong and the colons are not on their proper place when using random minute values(that should generate years : months : weeks : days :…
MR_AMDEV
  • 1,712
  • 2
  • 21
  • 38
0
votes
2 answers

perl POSIX::strptime - my data looks like 9:31:00 AM - I want to extract the minute and perform a calculation

I want to extract the minute from a specified time that exists in the 2nd column of a comma delimited file and perform a calculation. The format of the time is as follows: 9:31:00 AM I want to extract the minute value and calculate the total minutes…
codingknob
  • 11,108
  • 25
  • 89
  • 126
0
votes
0 answers

mysql function that converts minutes to month,day,hour,minute and second values

I need to use a mysql function that takes as an input a big number that represents the number of minutes and convert it to the number of months, days, hours, minutes and seconds. Can some one help me to make it ?
asmatrk
  • 237
  • 2
  • 9
0
votes
1 answer

Conversion from Minutes To Hours:Minutes:Seconds

I want to convert Minutes as "Hours:Minutes:Seconds". How can this achieved using c#. I have tried this driveHours = (totalHours.balanceDriveMinutes / 60).ToString("00") + " Hrs. " + (totalHours.balanceDriveMinutes % 60 ).ToString("00") + " Min." +…
vivek v
  • 167
  • 1
  • 3
  • 16
0
votes
3 answers

Hour, Minute difference in php

I am looking a solution in Php. I have a total time for a task in hh:mm:ss format. (Date is not important). and I am entering each working time also in hh:mm:ss format. Now I have to find out the remain hours in hh:mm:ss format. Example 16:00:00 is…
0
votes
2 answers

How to have minutes between two times?

I have two times and I want to get the difference in minutes. Ex: I have this: 09:11:30;09:15:22; And I want to achieve this: 3 min passed Note that the 9:15:22 is not 9:15:30 so 4 minutes are not passed already.
José Nobre
  • 4,407
  • 6
  • 20
  • 40
0
votes
2 answers

What is my mistake to convert Date into minutes?

Based on How to convert Standard Date into minutes in java? information, I follow this technique to convert date into minute, but an output is not as an expected value (e.g., 12 hour -> it should be 720 minutes). Here is my source code …
Mr.Kim
  • 186
  • 1
  • 10
0
votes
5 answers

Calendar minute not giving the right minute

The code below shows the text of a parsed Date object, and the static field Calendar.MINUTE. Can someone inform why they're different? The docs say it's supposed to get the current minute value as an int. EDIT: image removed, code/result…
juju
  • 553
  • 1
  • 4
  • 21
0
votes
1 answer

Stata Misreading Time Variables - How to Change These?

I've got sports data that I've imported from an online source via a .xlsx file. Each observation is a penalty in an NFL (American football) game. In order to later merge this with another dataset, I need to have certain variables/values that match…
0
votes
2 answers

Adding seconds to a Calendar object using Calendar.MINUTE add method

Can we pass a long value in Java such that it adds only seconds in the following code: Calendar calendar= Calendar.getInstance(); calendar.add(Calendar.MINUTE, (int) **SomeLongValue**); Where SomeLongValue adds only seconds to the calendar…
Palak
  • 25
  • 1
  • 1
  • 8
0
votes
1 answer

Query between two dates and two times

I'm trying to query a specific range of time, Eg.: SELECT * FROM production WHERE production.begin BETWEEN '2017/05/15' AND '2017/05/16' AND production.begin BETWEEN '00:15' AND '15:00' The expected result would be productions that began at…
jlwollinger
  • 90
  • 3
  • 12
0
votes
0 answers

JS Adding times for a timesheet

Im trying to create a timesheet page. Im struggling to work out how to add/subtract the times away from each other as its not adding the minutes as well.Can someone please help, i cant fine any answers online so far so hoping someone on here will be…
L Barnard
  • 63
  • 4
0
votes
2 answers

How can I display hour and minute only Php from mysql database like(00:00)?

How can I display hour and minute only Php from mysql database like(00:00)? Here is my code: $query = "SELECT * FROM table"; $resualt = mysqli_query($conn, $query); if (mysqli_num_rows($resualt) > 0) { echo ""; while($row…
buuhoodle
  • 1
  • 1
  • 4