Thank you all for the kind and most informative answers. Now I am settled with my plan. I'll cross the border at midnight so as to sleep on my own bed for the rest of the night.
Is the US-Canada border closed at night? Or is it open all the time?