I am using the command
p4 changes -m 1 -s submitted //depot/mainline/...@2015/05/10
in order to get the most recent changelist submitted to the mainline as long as it was submitted today. But the problem I am having is that the information coming back out is always from the previous day. So for the line above I will get the latest change from 2015/05/09, which strikes me as quite odd. I guess it is not super hard for me to fix, I just set my script up to add 1 to the current date, but it seems weird and I was just wondering if this is intentional or if I am doing something wrong.
I did a bunch of other checks to make sure I was not being stupid, checked the date on the server and passed the command line a date and time period but to no avail.
Any help is much appriciated! :)