[Tutor] Help me with this problem relating to datetime
ajkadri at googlemail.com
Thu Nov 16 01:20:40 CET 2006
I have got a date (as string), time (as string) , number of slots ( integer)
and delta ( which is in seconds).
I want to create a dictionary which has got date as the key, and the value
should be a tuple with two elements (start_time, end_time).
I will take start_time and find the end_time using delta. This pair of start
and end times have a corresponding date. The date will be used as the key
for the dictionary. Once the time crosses midnight, the date will change.
Can you help me to implement this functionality?
To HIM you shall return.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor