Python Forum
Need to add hours min and seconds
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need to add hours min and seconds
#5
You need datetime. Since you mentioned datetime.timedelta() in your first post, I assumed you were already using it in some form. But yes, it must be imported.

import datetime
Reply


Messages In This Thread
Need to add hours min and seconds - by tester_V - Jun-02-2020, 01:00 AM
RE: Need to add hours min and seconds - by tester_V - Jun-02-2020, 04:36 AM
RE: Need to add hours min and seconds - by bowlofred - Jun-02-2020, 04:44 AM
RE: Need to add hours min and seconds - by tester_V - Jun-02-2020, 05:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Formatting DateTime string and and converting it from AM/PM to 24 hours tester_V 2 257 Jun-08-2024, 05:16 PM
Last Post: tester_V
  Problem with module time and leap seconds Pedroski55 3 1,413 Oct-07-2022, 11:27 PM
Last Post: Pedroski55
  MatplotibTicks every 24 hours TamP 4 1,357 Oct-04-2022, 04:08 PM
Last Post: deanhystad
  Hello all! need help. calculating OT hours. no1up 5 1,719 Jul-30-2022, 10:00 PM
Last Post: rob101
  Store variable data and display sum after 60 seconds the_dude 11 3,785 Dec-16-2021, 07:07 PM
Last Post: deanhystad
  Py script that triggers ever 3 hours, but only between 9:15 am to 3:30 pm, Mon to Fri Pymod 2 1,946 Jun-30-2021, 05:14 PM
Last Post: Larz60+
  How to get utcnow + 2 hours? korenron 2 2,748 Mar-01-2021, 03:22 PM
Last Post: korenron
  How to calculate time difference between each row of dataframe in seconds Mekala 1 2,737 Jul-16-2020, 12:57 PM
Last Post: Larz60+
  Can't substract seconds from time Raj_Kumar 1 1,892 Apr-15-2020, 02:47 AM
Last Post: bowlofred
  How to calculate time in seconds rajeshE 1 2,200 Feb-15-2020, 11:07 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020