Articles tagged date

  1. Find the number of days until next day of week

    I've had to figure this out before and I forgot it. Here it is preserved

     def daysuntilnextdow(start, next):
         """Determine how many days until the next Day of week
    
         start: The day of the week to start from
         next: The day of the week to go to
    
         returns a ...
    Eric Moritz
    : date / python

Page 1 / 1