Python Format Current Datetime Sql Functions Definition