Questions tagged [current-time]
77 questions
0
votes
1 answer
how to convert big double value into proper double number
I want current date and time. so for that I am using "System.currentTimeMillis()" in java to get current date and time. Now I am converting milliseconds to seconds by dividing milliseconds to 1000. after dividing it I am converting this number into…

Shubham Mogarkar
- 53
- 4
0
votes
1 answer
Oracle difference between to dates in days without considering time
How to get days count from CURRENT_TIMESTAMP without considering time (hours,minutes,seconds).
for eg. CURRENT_TIMESTAMP is 24-JUN-21 00.01.01 AM
and EVENT_TIMESTAMP is 23-JUN-21 07.00.00 PM then it should return 1 day difference.
Below query…

2787184
- 3,749
- 10
- 47
- 81
0
votes
1 answer
How can I get current time from YouTube-ios-player-helper on swift?
I tried to get current time from YouTube using YouTube-ios-player-helper from swiftUI.
There is currentTime() method to call the current time. However, whenever I call this function, it returns void value and when I checked the currentTime()…

Sangho Ju
- 83
- 1
- 7
0
votes
1 answer
Convert current mediaPlayer time to formated time in Android Studio using java
check my function below, its showing like this 124:45 *means it is not converting hours into minutes. Like this:
Kindly make changes in my below function that give me correct time.
private String formatedTime(int mCuurentPosition) {
…
0
votes
1 answer
skipping to specific currentTime with pixi-sound
I'm using pixi-sound.js and want to be able to skip to a specific point in the audio file. I've achieved this before using HTML5 audio by updating the currentTime, but I'm not sure where to access this with pixi-sound. There are at least two…

Oroonoko
- 11
- 1
0
votes
1 answer
Maya (MEL) duplicate selected object at specific time interval
I have an object (Cube for example) that is keyed to move (Translate) from point A to point B in 20 frames. At frame 1 (currentTime 1) the objects is at point A and at frame 20 (currentTime 20) the object moves to point B.
What I want to achieve is…

Kokachi
- 103
- 2
0
votes
0 answers
Android - exchanging System. currentTimeMillis() for SystemClock.uptimeMillis() - what are the implications
i have tried to write the following function which given a time in the future will tell me how many milliseconds until that time:
fun millisFromNow(futureTime: Long): Long {
val now = Date(System.currentTimeMillis())
val endDate =…

j2emanue
- 60,549
- 65
- 286
- 456
0
votes
0 answers
Calculate the difference between time and current time in minute
my question is about a field in my table that save time in format like "06:00 PM"(just show time without date with AM/PM).
I want to change saved time that has not AM/PM then calculate difference time betwen that time and current time in minute,…

Sara Shafahi
- 7
- 4
0
votes
1 answer
Why is the current time constant when executing for every row (using a LATERAL JOIN)?
Why is it the case that I can see the same timestamp when wrapping a now() function within a lateral join.
I formulated a code sample to illustrate by example:
SELECT *
FROM generate_series(1, 10000)
LEFT JOIN LATERAL (
SELECT now() AS now
…

alt-f4
- 2,112
- 17
- 49
0
votes
1 answer
Truetime Android API, how to get the values GMT, PST, device time automatic whenever open the activity?
I am using the API truetime-android.
https://github.com/instacart/truetime-android
My problem is, if i want to get the values GMT, PST, device time. I have to press the button Get Time Now. I don't like that, I want whenever I open that activity,…

John
- 78
- 1
- 9
0
votes
0 answers
Can't set `currentTime` for videos loaded from localhost
So it's 100% same file
I load it from
videoEl.src = "https://dl.dropboxusercontent.com/s/19evjn1svecnanr/big_buck_bunny_ns.mp4";
wait for 'canplaythrough' and then with click event
videoEl.currentTime = 1.0;
console.log(videoEl.currentTime); //…

trshmanx
- 600
- 7
- 16
0
votes
1 answer
Custom progress bar for javascript audio player
I have two tracks that get loaded on a single

Rocha
- 1
- 1
0
votes
1 answer
TrueTime Sometimes not giving value
I have implement Truetime in my app. It's works fine but sometimes when i open my app i am not getting the value . I have set daily reward method but if it happens it will be a big problem .
Here is the code , by which i am getting time :
class…

vifol47386
- 17
- 6
0
votes
1 answer
Code does not print colision moment as expected
Just to clarify the context:
I am not sure what error is happening. My code was built to display a window using pygame containing an image of a player and a enemy image, in addition to a red surface that automatically slides down the screen. Note:…

7beggars_nnnnm
- 697
- 3
- 12
0
votes
1 answer
How do you add the current time / total time to custom audio player?
I am trying to add a current time / total time element. Something that would look like 01:11/03:00. So far I have the progress bar and play pause button. These are my variables:
var music = document.getElementById('audioPlayer'); // id for audio…

coder123
- 247
- 3
- 17