My alerts set two days later

Hi, I’m having trouble registering an alert through your api, I want to set an alert for today, where I send the same start and end date, but for some reason when I check the admin panel I see that I set the alarm for two Days later, what is the reason for the alarm to be set two days later?
Are there any rules that I need to know to send my alert dates?
Thanks in advance

Are you converting your start and end times for the alert to epoch time?

I’m using python 3.6 and I use .timestamp() to transform the date, which according to its documentation is not necessary to convert them to the epoch time

Do you have a sample request for your SetAlert call?

This is my call

‘/json/FlightXML2/SetAlert?date_end=1497392349&channels=%7B16+e_filed+e_departure+e_arrival+e_diverted+e_cancelled%7D&alert_id=0&ident=VLG1287-1497158792-airline-0126%3A0&date_start=1497392349&max_weekly=1000’

‘/json/FlightXML2/SetAlert?date_end=1497392349&channels=%7B16+e_filed+e_departure+e_arrival+e_diverted+e_cancelled%7D&alert_id=0&ident=VLG1287-1497158792-airline-0126%3A0&date_start=1497392349&max_weekly=1000’

It creates an alert for 09/07/2016

Running your query it created an alert for the 13th. As you mentioned if your date_start and date_end are on the same day it will create an alert for just that day. If you’re passing in a faFlightID though there isn’t really any need to set a start and end date as faFlightIDs are unique.

Also you mentioned that it created an alert for 09/07/2016, did you have that date wrong as that was last year?