Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the jetpack domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/feedavenue.com/public_html/wp-includes/functions.php on line 6114
How to Set Date Time from Mac Command Line - Feedavenue
Saturday, December 21, 2024
HomeTechnologySoftwareHow to Set Date Time from Mac Command Line

How to Set Date Time from Mac Command Line

Date:

Related stories

11 Best Age Spot Treatments, According to Dermatologists

If your age spots are really stubborn, an...

The Best Movie In The Series Yet

With Sonic the Hedgehog 3, the live-action adaptation...

Have a Cozy Weekend. | Cup of Jo

What are you up to this weekend? New...

Motherwell 1-1 Kilmarnock

Watch highlights of the Scottish Premiership match between...
spot_imgspot_img

Working on a web extension that ships to an app store and isn’t immediately modifiable, like a website, can be difficult. Since you cannot immediately deploy updates, you sometimes need to bake in hardcoded date-based logic. Testing future dates can be difficult if you don’t know how to quickly change the date on your local machine.

To change the current date on your Mac, execute the following from command line:

# Date Format:  MMDDYYYY
sudo date -I 06142024

This command does not modify time, only the current date. Using the same command to reset to current date is easy as well!

  • fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn’t really made for what we’ve been using it for.  We’ve done well to create elegant APIs around XHR but we know we can do better.  Our effort to…

  • Introducing MooTools Templated

    One major problem with creating UI components with the MooTools JavaScript framework is that there isn’t a great way of allowing customization of template and ease of node creation. As of today, there are two ways of creating: new Element Madness The first way to create UI-driven…



Source link

Latest stories

spot_img