Is it possible to change the date of your Mac so it is not system-wide, but only for certain applications? For example, changing the date to 15th June for VS Code & Firefox, but not Google Chrome, etc.

I am on an M1 MacBook Air, Monterey 12.5

  • 2
    This sounds like an XY problem
    – lhf
    Jul 21, 2022 at 13:47

2 Answers 2


No, this is not possible.

Virtual Machine

You could achieve the desired behaviour by running the applications within a virtual machine whose internal date has been changed. You would also need to isolate the virtual machine from the network to stop macOS fetching the time remotely.

  • well, you can script it - setting the date and starting the program using e.g. AppleScript. Jul 21, 2022 at 17:27
  • A scripted approach will still affect all processes on the computer. What makes the task impossible, is the requirement to affect only a sub-set of processes. Jul 21, 2022 at 17:59
  • A scripted approach will indeed have global effect - but only as long the script is running. It is trivial to reset the date&time using AppleScript when the program scripted is quit . But you are of course right - there is no way to set a system time for an individual app (the hint might be in “system time” 🤓) Jul 21, 2022 at 18:35

I created a script to solve this specific problem and then converted it into a shortcut to automate the process. Instead of manually running the script and entering a password each time, the shortcut can now launch the app automatically. The shortcut and instructions are available on a GitHub repository. Here you go : https://github.com/ArunyaGoojar/RunAsDate-for-MacOS

  • 1
    Creative approach. But might be worth noting that this changes the date for all applications for a few seconds (which might have unexpected side effects). It also requires a user with admin rights.
    – nohillside
    Jan 24, 2023 at 8:44
  • I am sorry I did not read it correctly . Jan 24, 2023 at 10:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .