Get creation time of file in milliseconds



As an IT admin, it is important to be able to retrieve the creation time of files in milliseconds. The reason for this is that it can help in troubleshooting and analyzing activity on a system or network.

One way to retrieve the creation time of files in milliseconds is to use the Windows command line. Using the “dir” command, you can specify the “/t:c” switch which will output files and directories in the current directory along with its creation time in milliseconds.

For example, if you wanted to retrieve the creation time of “test.txt” in milliseconds, you can use the following command: dir /t:c test.txt. This will output the creation time in milliseconds for the specified file.

Another way to retrieve the creation time of files in milliseconds is to use PowerShell. With PowerShell, you can use the “Get-ChildItem” cmdlet along with the “-ATime” switch. This will output the file’s creation time in milliseconds.

For example, if you wanted to retrieve the creation time of “test.txt” in milliseconds, you can use the following command: Get-ChildItem -Path “test.txt” -Atime. This will output the creation time in milliseconds for the specified file.

In addition to Windows and PowerShell, you can also retrieve the creation time of files in milliseconds by using a Linux command. Using the “stat” command, you can specify the “-c” switch which will output the creation time of the specified file in milliseconds.

For example, if you wanted to retrieve the creation time of “test.txt” in milliseconds, you can use the following command: stat -c %Y test.txt. This will output the creation time in milliseconds for the specified file.

Overall, as an IT admin, it is important to be able to retrieve the creation time of files in milliseconds. This can be done using Windows command line, PowerShell, or a Linux command. By using the appropriate command, you can easily retrieve the creation time of files in milliseconds.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo