Monday, January 20, 2025

The way 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 a web site, might be tough. Since you can’t instantly deploy updates, you typically must bake in hardcoded date-based logic. Testing future dates might be tough if you do not know 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 straightforward as properly!

  • dat.gui:  Exceptional JavaScript Interface Controller

    All of us love trusted JavaScript frameworks like MooTools, jQuery, and Dojo, however there is a massive push towards utilizing centered micro-frameworks for smaller functions. After all, there are positives and negatives to utilizing them.  Positives embody smaller JS footprint (particularly good for cell) and fewer cruft, negatives…

  • MooTools Typewriter Effect Plugin Upgrade

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

PHP Code Snippets Powered By : XYZScripts.com