Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Lab Assistant
Original Poster
#1 Old 13th Aug 2015 at 8:30 AM Last edited by sachamagne : 13th Aug 2015 at 8:43 AM.
[fixed]converting time_till_next_day to minutes ?
How could i convert 'span' from that snippet into minutes ?
Code:
ts = services.time_service()
time = date_and_time.create_date_and_time()
span = ts.sim_now.time_till_next_day_time(time)


I couldn't find any method so far.

Thanks
Advertisement
Lab Assistant
Original Poster
#2 Old 13th Aug 2015 at 8:42 AM
Quote: Originally posted by sachamagne
How could i convert 'span' from that snippet into minutes ?
Code:
ts = services.time_service()
time = date_and_time.create_date_and_time()
span = ts.sim_now.time_till_next_day_time(time)


I couldn't find any method so far.

Thanks


Answering to myself:
t=span.in_minutes()
Back to top