added method for datetimes
added method for datetimes
cleanup __main__, put together output