Is there a way to get my MacBook's date and time into Arduino IDE?
You can use __DATE__ and __TIME__ compiler time constants in IDE and do check inside of your setup() function if the RTC clock is zeroed then parse and set compile time values.

char cr[] = __DATE__;
char ct[] = __TIME__;


At the compile time these macros will be replaced with text constants "Apr  4 2019" and "10:35:22" respectively.