###Instructions

Write a function that takes a negative or positive integer, which represents the number of minutes before (-) or after (+) Sunday midnight, and returns the current day of the week and the current time in 24hr format ('hh:mm') as a string. 

```python
day_and_time(0)       should return 'Sunday 00:00'
day_and_time(-3)      should return 'Saturday 23:57'
day_and_time(45)      should return 'Sunday 00:45'
day_and_time(759)     should return 'Sunday 12:39'
day_and_time(1236)    should return 'Sunday 20:36'
day_and_time(1447)    should return 'Monday 00:07'
day_and_time(7832)    should return 'Friday 10:32'
day_and_time(18876)   should return 'Saturday 02:36'
day_and_time(259180)  should return 'Thursday 23:40' 
day_and_time(-349000) should return 'Tuesday 15:20'
```

Source: codewars | Difficulty: EASY

Starter code: def day_and_time(mins):
	

Solutions:
from datetime import timedelta, datetime

def day_and_time(mins):
	return '{:%A %H:%M}'.format(datetime(2017, 1, 1) + timedelta(minutes=mins))


def day_and_time(mins):
	dow = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
	return '{} {:02d}:{:02d}'.format(dow[mins // 1440 % 7], mins // 60 % 24, mins % 60)


from time import gmtime, strftime

def day_and_time(mins):
	return strftime('%A %H:%M', gmtime(3600 * 24 * 3 + 60 * mins))


from datetime import datetime, timedelta

def day_and_time(mins):
	d = datetime.strptime('2019-01-13 00:00', '%Y-%m-%d %H:%M') + timedelta(minutes=mins)
	return d.strftime('%A %H:%M')


from datetime import datetime, timedelta

def day_and_time(mins):
	return format(datetime(2018, 7, 1) + timedelta(minutes=mins), '%A %H:%M')


from datetime import datetime, timedelta

def day_and_time(mins):
	test_date = datetime(2017, 2, 12) + timedelta(minutes=mins)
	return test_date.strftime('%A %H:%M')


WEEKDAYS = ('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday')

def day_and_time(minutes):
	(days, minutes) = divmod(minutes, 1440)
	(hours, minutes) = divmod(minutes, 60)
	return '{} {:02}:{:02}'.format(WEEKDAYS[days % 7], hours, minutes)


day_and_time = lambda m: '{} {:02d}:{:02d}'.format(['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'][m // 1440 % 7], m // 60 % 24, m % 60)