Questions tagged [minute]
154 questions
0
votes
4 answers
WPF Edit hours and minutes of a DateTime
I have 3 TextBoxes to edit a DateTime.
What is important to notice is that those 2 TextBoxes are editing the hour and minutes of the first TextBox DateTime value.
One to edit the Date and 2 to edit hour and minutes.
How would you do that? The code…

theSpyCry
- 12,073
- 28
- 96
- 152
0
votes
1 answer
How to limit the list values of a form datetime minutes field in Symfony2?
I would like to know how to limit the list values of a form datetime minutes field in Symfony2 . The explanation is as below:
When I click on the combo box of the minutes field of a datetime field in a form, a list values will be displayed as you…

Nadim
- 382
- 1
- 7
- 29
0
votes
1 answer
Hive select query with Group by minute
I have data of the form as below:
hive> desc test;
no string
txdate string
hive>
hive> select * from test;
1 2014-06-01 10:12:12.100
1 2014-06-01 10:12:14.100
1 2014-06-01 10:12:16.100
1 2014-06-01 10:13:12.100
1 2014-06-01…

Krishna Prasad Yalavarthi
- 506
- 8
- 10
0
votes
1 answer
Total minutes from datetime value
How to get total time in minutes from datetime?
18/11/2013 07:31:04
The result should be: 451 min (it's 07*60 + 31).

user3090396
- 3
- 1
0
votes
2 answers
Convert minutes to time 'h:m:s'
I wonder if there is a function in php or codeigniter which can do this :
function transformTime($min)
{
$min=(int)$min;
$heure=(int)($min/60);
$minute=(($min/60)-$heure)*60;
return $heure .':' . $minute . ':00';
}
I want…

Choubidou
- 351
- 2
- 4
- 17
0
votes
6 answers
Formatting a number of minutes into time
So I have a variable time. It counts the minutes. Is there a way I can format this into minutes easily? For example,
time = 63
would equal
1:03
and time = 605
would equal
10:05.
Thank you in advance!

user3033405
- 83
- 1
- 1
- 4
0
votes
1 answer
How to group hour with corresponding minutes in android?
I am doing some train application. In the application I am maintaining train time. From my database I can able to fetch times as String array list like this
train_schedule_time------>[8.2, 13.55, 0.45]
Now I want to segregate my array by hour…

malavika
- 1,331
- 4
- 21
- 54
0
votes
4 answers
Transform minutes into hours
I've got stuck in my program, i need to calculate the gold/minute but my math formula won't do the desire thing. As I input the hours into a float(something like 1.2 hours) the transformation will be 72 min instead of 80 as I need.
Can you please…

Victor
- 468
- 1
- 5
- 17
0
votes
1 answer
Crontab keeps running
I have the following cronjob (crontab) running on an amazon ec2 server with Linux AMI:
*/20 8-22 * * * php -q /var/www/html/xxx.php
Unfortunately, the script keeps executing every 20 minutes AFTER 23.00 hour. Could somebody explain what I'm doing…
0
votes
2 answers
Sort by minute doesn't work
I'm trying to sort my photos by hour and minute but it will not catch the minutes - it's just keep saying that nothing exists for that hour and minute. If I'm trying to sort only after the hours, it works perfectly. I have tested WHERE…

Airikr
- 6,258
- 15
- 59
- 110
0
votes
1 answer
MS Access - on lost focus calculation
I am working on MS Access database and creating a form in access.
I have a field total_hrs. here I need help.
I want to just fill minutes and it should be converted into hrs.
for that I am using onlost focus total_hrs

Dev
- 51
- 1
- 8
0
votes
1 answer
SQL - Rounding off numbers
Possible Duplicate:
Accuracy in rounding numbers
I have the following requirement-
Get the A_MINUTES column value from TableA for all rows
Sum the A_MINUTES.
Convert the summed minutes values to hours - divide by 60
Round off the final hours…

user656523
- 3,171
- 3
- 22
- 19
-1
votes
2 answers
How to calculate time difference in python?
Example:
9:43 - 17:27 - how many hours and minutes elapsed between those times ?

Sheet
- 13
- 5
-1
votes
3 answers
Is there any method to append minute per specific interval?
What I want to do is to make specific minute be added from now.
For example.
Let's assume that it's 10:09 now. Then the minute is gonna be 9. And we assume that the interval is 5 minutes. Then the list has to be like this:
[9, 14, 19, 24, 29, 34,…
user14913979
-1
votes
4 answers
Convert minutes into seconds in php
I have a time related php question!
I have html input boxes that asks the user for minutes and seconds like so:
minutes
seconds
and the result gets posted into a php file
I…

Kevin Jung
- 2,973
- 7
- 32
- 35