Land or air ? There are always ways for a government to find out, maybe not necessarily realtime at the border but there will always be a record somewhere even flight manifests for example.
In any case misleading a CBSA officer at the border by lieing about time away not really advisable, not saying your plan