At least for US VWP users, beware that time spent in foreign contiguous territory or adjacent islands to the US after visiting the US or between visits to the US may complicate the calculation of days counted toward an approved stay in the US.
For visa users, an entry stamp to another country or other credible evidence or story can be enough to satisfy CBP under most common circumstances like that of the OP's subject.