Questions tagged [minute]
154 questions
0
votes
0 answers
Mysql not returning same records for date_format function
I'm facing a problem with this request :
SELECT DATE_FORMAT(NOW(),'%d-%m-%Y %h:%i:%s') as dateHeureNow;
The query in Mysql gives me the exact time and minute corresponding to the server execution time. However, when I execute it from java the…

Aniss
- 39
- 1
- 1
- 8
0
votes
1 answer
Get & Set Time from Date Object
I am working on a pomodoro clock in Javascript.
I am a bit confused by the Date Obj. As per the below code, the idea is that the 'Session Timer' & 'Break Timer' values will be stored in a global obj so they can be retrieved &/ or updated. However,…

Kayote
- 14,579
- 25
- 85
- 144
0
votes
1 answer
Python - Print script running time: each 1 or 10 minute
I'm running scripts that take 10-80 minutes. I would like to be able to print the script running time each 1/5/10 minutes ( as i choose).
For example i have a script where i'm creating tables and inserting data to a DB and want to measure the time…

shayms8
- 671
- 6
- 13
- 28
0
votes
1 answer
jQuery countdown (minute:seconds) from seconds
In a script I use AJAX to request data from a script. The returned data is returned in JSON format. The script returns seconds and I'm searching for an easy way to generate a countdown showing minutes and seconds generated by the returned value.
For…

peke_peke
- 441
- 7
- 21
0
votes
1 answer
Rx extension - creating minute bar from sequence
I have a sequence where values are generated at random times (real time stock market prices). I have a requirement to find the highest and lowest value of the sequence between a one minute period. I know you can use something like Buffer for this.…

Vips
- 1
- 1
0
votes
1 answer
Spliting one hour into four equal part
I want to split an hour in four equal part using php.
e.g. I want to split 1:00 am result as 1:00 am, 1:15 am, 1:30 am, 1:45 am
and 2:00 am result as 2:00 am, 2:15 am, 2:30 am, 2:45 am as so on.
Thank You In Advance.

tanisha
- 19
- 3
0
votes
1 answer
Changing a cell in Excel 10 results in 00:00?
I encountered a wierd behaviour while working with Excel 10:
Column B has "time in" in HH:MM format
Column C has "time out" in HH:MM format
I want column D to have the time difference displayed as decimal amount of hours (so if B4 has 10:00 and C4…

shayelk
- 1,606
- 1
- 14
- 32
0
votes
1 answer
Excel Time Hours:Minutes to Minutes
I have some information that I copy/paste from a text file. These come across in such a fashion that I have to do a "Text to Column", which does leave the time neatly in their own column in the format of H:MM. I can use the formula =C2*60*24…

Rich
- 111
- 2
- 13
0
votes
1 answer
I would like to add an hours and minute format to my list and list each item with the hour next to it starting at 0:00 and going to 23:00
This is for PYthon 3.5. I am looking to add hours and minutes format to the list and get it to print out currently it will not do either.
I am looking to get a list of what is input as:
0:00 The temperature is ##
1:00 The temperature is ##
up to…

jamesicywhite
- 43
- 1
- 1
- 5
0
votes
1 answer
Subtract two date field values and get the minutes
I have below TEMP_PROCESS_MONITOR table which has ALERT_TIMESTAMP column which has date data type.The TIMEOUT column has Number data type and it consist of Minutes values. I want to subtract the Current date with the ALERT_TIMESTAMP field and get…

Andrew
- 3,632
- 24
- 64
- 113
0
votes
3 answers
how to get time in totally in minutes in rails?
I am using DateTime.now and Time.now methods. And I store it in some variables. Now I want this time in minutes. Meaning, instead of hours and minutes I want to get time in minutes only.
2.2.2 :014 > datetime = DateTime.now
=> Fri, 11 Sep 2015…

John
- 1,273
- 3
- 27
- 61
0
votes
1 answer
SELECT offset ,datetime('now','+offset minutes', 'localtime')
This query i rebuild
SELECT time('now','+30 minutes')
to a more complex one where the offset (minutes) are my problem.
This query isn't working but how i get it done.
SELECT offset, datetime('now','+offset minutes', 'localtime')
FROM database…

Sjaak Nabuurs
- 62
- 5
0
votes
2 answers
jquery datetime pickers for selecting date hours and minutes
i want to have a datetime picker of jquery to select the date, hours, and minutes. i want to have 12 hours clock which shows am-pm. and minutes selection. all plugins showing 24 hours clock and current time. i dont want to select the current time i…

John
- 1,273
- 3
- 27
- 61
0
votes
2 answers
How to check with PHP that 5 minutes pass from a MySQL TIME column
I'm stuck with this, I'm trying this code with phalcon framework:
if(strtotime("+5 minutes",$quarantine->getFirst()->datecolumnvalue)>time()){...}
But doesn't work, always give false. I cannot do it with just MySQL because PHQL from phalcon doesn't…

danielmg
- 211
- 3
- 13
0
votes
1 answer
Calendar Time Not setting up
I am trying to set the calendar hour and minute by using the following code
Calendar c=Calendar.getInstance();
c.set(Calendar.HOUR,4);
c.set(Calendar.MINUTE, 23);
but it is always displaying 11 as hour and 12 as minute.

Sheena Gupta
- 59
- 9