Thread: Changing time stamps

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    99

    Changing time stamps

    I know how to view a timestamp but I would like to know if you can change the stamp to an earlier time. So if I accesed text.txt on Saturday November 12 at 6:30 PM can I make a program that will change the time back to say Saturday November 12 at 2:37 PM?

    Nate

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Under Windows, you can call SetFileTime().

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 10-07-2008, 12:09 PM
  2. Execution Time - Rijandael encryption
    By gamer4life687 in forum C++ Programming
    Replies: 5
    Last Post: 09-20-2008, 09:25 PM
  3. The new FAQ
    By Hammer in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 08-30-2006, 10:05 AM
  4. Read and set\change system time
    By Hexxx in forum C++ Programming
    Replies: 9
    Last Post: 01-02-2006, 07:11 AM
  5. calculating user time and time elapsed
    By Neildadon in forum C++ Programming
    Replies: 0
    Last Post: 02-10-2003, 06:00 PM