Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. 2017-01-30T12:00-0300/2017-03-30T00:00-0300
  2.  
  3. sale_price_effective_date = current_row['sale_price_effective_date'].split("/")
  4. start_date = sale_price_effective_date[0]
  5. end_date = sale_price_effective_date[1]
  6. print start_date
  7. print end_date
  8.  
  9. if (end_date-start_date)>datetime.now():
  10. //do something
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement