35.3 C
New York
Monday, June 23, 2025

Buy now

spot_img

Find out how to Set Date Time from Mac Command Line


Engaged on an online extension that ships to an app retailer and is not instantly modifiable, like an internet site, may be tough. Since you can’t instantly deploy updates, you typically must bake in hardcoded date-based logic. Testing future dates may be tough if you do not know easy methods to shortly change the date in your native machine.

To vary the present date in your Mac, execute the next from command line:

# Date Format:  MMDDYYYY
sudo date -I 06142024

This command doesn’t modify time, solely the present date. Utilizing the identical command to reset to present date is simple as nicely!

  • I’m an Impostor

    That is the toughest factor I’ve ever needed to write, a lot much less admit to myself.  I’ve written resignation letters from jobs I’ve cherished, I’ve ended relationships, I’ve failed at a number of duties, and let myself down in my life.  All of these emotions had been very…

  • Create Spinning Rays with CSS3: Revisited

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
0FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles