Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Set the date back by 2882 days in command line / bat file
Blog

Set the date back by 2882 days in command line / bat file

by Rubin|Published November 30, 2024

Task: set the clock back 2882 days in a .bat file.

Apparently this can be done in via powershell, however, I need to summon said task in a .bat file. Bonus points if it does not require administrative privilege

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/set-date?view=powershell-7.4&viewFallbackFrom=powershell-7.3

You may also like

How to pass the value and call js function from template.html using knockout js in(in checkout page) Magento 2?
Published December 9, 2019

How to pass the value and call js function from template.html using knockout js in(in checkout page) Magento 2?

I have to call and pass value to the js function(showPopup())from the template(when clicking the Verify OTP button). How to achieve this?. […]

Deleted by ffmpeg (encoding -y) on an SSD, its possible to recover the file, Linux system
Published January 23, 2026

Deleted by ffmpeg (encoding -y) on an SSD, its possible to recover the file, Linux system

As I know, on SSD deleted files will not be overwritten immediately, in respect to the health of SSD cells (max. 1000 […]

Deloitte Interview Experience for Analyst Trainee (Off-Campus)
Published March 3, 2022

Deloitte Interview Experience for Analyst Trainee (Off-Campus)

There are four rounds of interviews. Round 1 (Application Shortlisting Round): This round was basically for application shortlisting. As it was an […]

Published April 2, 2024

magento pwa Refused to frame ‘https://www.facebook.com/’

In PWA Venia setup of our website , When we enter all the information under Guest checkout and click on “Continue to […]

Interesting

  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results
  • OS drive image-level backup software with exclusion of files and folders [closed]
  • How can I set a hard cost limit for a single request in GitHub Copilot desktop app?
  • How do I get back db_ddladmin rights lost due to server replication?
  • Audio popping after idle on Dell Pro Max 16 MC16250 – where are the idle power settings in registry?

Post navigation

  • Previous post Adding leading zeros and reduce decimal place in Notepad++
  • Back to post list
  • Next post magento2 custom tab add product grid filter issue
——————-
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results
  • OS drive image-level backup software with exclusion of files and folders [closed]
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme