Odoo Date Format as Odoo System Date

Dateformat Change as Per Odoo System

Mustufa Rangwala

Odoo CMS- Sample image floating  
Sample Example: 

from odoo.tools.misc import formatLang, format_date

next_date = format_date(self.env, next_date)
end_date = format_date(self.env, end_date)