fixed timezone issue when sending to sql