Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Windows Info - NewFileTime ► «««« 06 / 07 »»»»

Quickly set a fixed time for the file time!


It is quite easy to set a fixed time for the file time in New File Time, from version 5.05 for all MS Windows 11, 10, ... etc. desktop and server operating systems!



 
Content:

1.) ... Just set a new time for the file time!
2.) ... Why set a fixed time for the file time!
3.) ... Set the time for the file time with PowerShell without a date!

1.) Just set a new time for the file time!


1. Start as always: the time correction tool for Windows

2. Click on the "#" button next to the time 

3. Select the fixed time for the file time 

4. Optional: Hold down the shift key if the time should be set for all
(PS: all = creation time "," last access time ", change time)

(... see Image-1 Point 1 to 4)

PS:

The menu is split up so that you can make fewer clicks and a short distance with the mouse when changing the hour. So you have an alternative button to set the "24 hours" faster, in short, for a quick change of the hour in 2 clicks and for a shorter distance. This was a user's wish!

See also:   Can't change the timestamp of the file to before January 1, 1980?

 

 
(Image-1) Quickly set a fixed time for the file time on MS Windows OS!
Quickly set a fixed time for the file time on MS Windows OS!


-
▲ Back to the top ▲


2.) Why set a fixed time for the file time!


Setting a fixed time for file time can be useful in various situations, but depends on the specific needs or scenarios. Here are some reasons why you might do this:

Documentation and traceability: If you are working on a project and the files represent a specific version or state, setting a fixed point in time as metadata in the file can help track the history and the to document history.

Synchronization: In certain scenarios, such as file synchronization between different systems or restoring backups, setting a fixed time can help give files a specific timestamp reference.

Testing and scripting: In the development environment or when writing scripts, you can use fixed time to ensure that your files have specific time references, to simulate specific testing scenarios, or to check the functionality of your scripts.

Time series analysis: In datasets based on time series analysis, you can use a fixed time to ensure that the files' timestamps match the intended times.

Organization and archiving: When organizing files or archiving documents, you can use fixed times to ensure that files are arranged in a specific order or categorization.


In most cases, setting a fixed time for file time is uncommon and is used in special scenarios or for documentation reasons. Normally, operating systems and file systems automatically manage file time based on actual operations such as creating, modifying, and opening files.



3.) Set the time for the file time with PowerShell without a date!

In PowerShell, you can set the file time without a specific date by using the current year, month, and day date values ​​and setting the time. Here is an example of how to set the file time in PowerShell:

 
 
# Specify the file name and desired time
 
$filename = "datei.txt"
 
$desiredTime = Get-Date -Year 2023 -Month 11 -Day 3 -Hour 14 -Minute 30 -Second 0
 
# Set the access time (LastAccessTime)
# and modification time (LastWriteTime) of the file
 
 
Set-ItemProperty -Path $filename -Name LastAccessTime -Value $desiredTime
Set-ItemProperty -Path $filename -Name LastWriteTime -Value $desiredTime
 
 


This example sets the $desiredTime variable to the desired time (2:30:00 p.m.) without a specific date. The current date values ​​for the year (2023), month (11), and day (3) are used to set the file time.

The access time (LastAccessTime) and the modification time (LastWriteTime) of the file are then set to this time. Customize the file name and desired time to suit your needs and run the script in PowerShell to set the time for the file.


Updated on: 3 November 2023 08:27 Windows
Keywords: newfiletime, info, quickly, fixed, time, file, quite, easy, version, windows, 11, 10, desktop, server, operating


Similar information on the page

Windows

... Export file time and conveniently edit or customize in Excel or Calc


You can also easily export the file time and easily edit and customize in Excel or Calc  for Windows 11, 10, etc. and MS Server OS. The solution ergo
Windows

... Change File and Folder time via MS Explorer Menu


You can also add NFT to the MS Explorer context menu to make it even easier to change file and folder times on Windows 11, 10, and MS Server OS Content:
Windows

... Help on Windows 10/11/12 I can not change the file time stamp, why?


It is easy even under Win 10/11/12 to do this successfully, with Windows 10 you can also change the file time Content / Solution / Tip: 1. The cause
Windows

... How can I remove files and folders from the file time list?


The solution is simple to remove files and folders from the file time list in the freeware NewFileTime To remove individual files in NewFileTime
Windows

... A short, how do I use the new file time stamp setter


On user request, a short, how do I use the new file time stamp setter on Windows 11, 10, 8.1, I was not so aware that some users have a problem with
Windows

... Windows 11 and 10 File Explorer search via file change time


The search for the change time can be made quite easily in Windows 11 or 10 MS File Explorer You have probably discovered Windows Search indexing , which
Windows

... Fixed time for shutdown or dont sleep timer when the program starts


It is quite easy to set a fixed time for the shutdown or the dont-sleep timer when the program starts on the Microsoft Windows OS Content: 1. The



▲ Back to the top ▲



See also : ... NewFileTime FAQ
Back to : ... NewFileTime Homeage

... NewFileTime Tip



AutoHideDesktopIcons # AutoHideMouseCursor # AutoPowerOptionsOK # BlankAndSecure # ClassicDesktopClock # ColorConsole # Desktop.Calendar.Tray.OK # DesktopDigitalClock # DesktopOK # DesktopSnowOK # DirPrintOK # DontSleep # Find.Same.Images.OK # FontViewOK # GetWindowText # IsMyLcdOK # IsMyTouchScreenOK # KeepMouseSpeedOK # MatriX.CoronaKO # MeinPlatz # NewFileTime # Office.Files.Images # OnlyStopWatch # OpenCloseDriveEject # PhotoResizerOK # ProcessKO # Q-Dir # QuickMemoryTestOK # QuickTextPaste # Run-Command # ShortDoorNote # StressTheGPU # TheAeroClock # ThisIsMyFile # WinBin2Iso # WinScan2PDF #


Questions for this:
  1. How do I quickly set a fixed clock time for the file time under MS Windows?


  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + Desktop.Calendar.Tray.OK
  + OK.Its.Raining.Men
  + Run-Command
  + MagicMouseTrails
  + CpuFrequenz
  + MultiClipBoardSlots
  + OnlyStopWatch
  + KeepMouseSpeedOK
  + NonCompressibleFiles
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg ERR2: softwareok.de • softwareok.com • softwareok.com • softwareok.eu
73.288 msec.


► Questions and answers about the Quick Text Paste application for Windows! ◄
► Why this small calendar on the Windows desktop? ◄
► How do I change the font size in Windows 11 and 12? ◄
► Hide Desktop Icons Show in Windows 7, Help? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....