this function is used in django to convert date string to utc long. 
datetime.datetime.strftime('%s') is not working as it will be affected by settings.TIMEZONE