in core/views.py [0:0]
def get_current_time(): now = datetime.now() today = date.today() current_time = str(today) + " "+ now.strftime("%H:%M:%S") return str(current_time)