Questions tagged [seconds]

333 questions
-2
votes
1 answer

how to make a script converting to radians the degree,seconds,minutes?

I am using python and I am having trouble making a script converting an angle with the degree,minutes,seconds given in radiant. I already tried a few things but I am pretty new so I need help
-2
votes
2 answers

how to convert seconds to a date in R

I have a column with seconds. The start date is 09/01/2017 01:37:33. I would like to replace the seconds with the date based on the calculations (taking into account the start date). But I couldn't find any answer to this question... Can someone…
-2
votes
2 answers

Android : how can I add 5 Times in a variable and get total seconds of them

like i have 5 Times 1. 05:12:02 2. 19:12:52 3. 40:12:14 4. 56:54:10 5. 41:12:12 ----------- Total Seconds : 0#####..` ----------- i want like this, how can i , please help me . can I use this? : public String addTime(int hour, int minute, int…
user7616371
-2
votes
1 answer

how to avoid one number when the number is 00 in swift 4?

I used the method for current time in my app But the problem is that when the 0 is behind a number the app won't print that like 10:23:4 as you see when the second is 04 the app won't print 04 and print 4 - I know that I can handle this with if else…
Saeed Rahmatolahi
  • 1,317
  • 2
  • 27
  • 60
-2
votes
1 answer

Timezone without seconds in javascript / selenium ide

I want to grab the time from a different time zone without the having the seconds. This is what I am using: javascript{var d = new Date(); d.setTime(new Date( (d.getTime() + (d.getTimezoneOffset() * 60000) ) + (3600000 * (+10) ) ));…
that guy
  • 3
  • 1
-2
votes
1 answer

Best timing method in Python?

I need it for my assignment ,its my first time with computer science .please anyone help with this one. question.****Type a return statement: "return " followed by the expression that performs the calculation described in the table above. (Remember…
nida82
  • 13
  • 1
-2
votes
1 answer

Feet to Seconds - Can't increment seconds Java

I am creating a program that will show user how many feet they have travel while driving if they were texting. So far this is what I got, If the user is driving at 60 MPH, one second of distraction will travel 88ft. If the user is driving at…
user2984143
  • 85
  • 1
  • 11
-2
votes
4 answers

How do I convert seconds into accumulated hhh:mm:ss?

I want to convert an elapsed amount of accumulated seconds into hours:minutes:seconds. For example 93599 seconds to: 25:59:59 How can I do that? (Note: 24h should not wrap to 0h)
JohnyTex
  • 3,323
  • 5
  • 29
  • 52
-2
votes
5 answers

jQuery calculating seconds of life

I'm kinda new to this and I'm trying to do a simple calculation in jQuery, but it doesn't work. Can someone help me please? Thank you, This is my improved code, i added your tips, but still doesn't work (doesn't do anything):
Miguel
  • 1,579
  • 5
  • 18
  • 31
-2
votes
2 answers

now.getMilliseconds();

Here is a set of code: Lots of Time

Times