#!/usr/bin/python ''' Description: Get, format, and output the date and time Keywords: datetime, date, time, now, month, day, year, hour, minute, second ''' from datetime import datetime now = datetime.now() print '%s/%s/%s %s:%s:%s' % (now.month, now.day, now.year, now.hour, now.minute, now.second)