Timestamp - A utility to change a files "Modified" time.

WEBINAR: On-demand webcast

How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >

Timestamp screenshot

Environment: VC6.0 SP1, Win95, NT4 SP4

Working with a team of programmers in different time zones can be fun, but it can also cause major problems when files from different time zones get mixed and matched. The latest update to a new version of a file may have a date earlier than someone elses old version, meaning it won't be recompiled, or, a new file may have a date later than others meaning DevStudio repeatedly wants to recompile everything.

The solution to this is:

  1. Get everyone to set their computer to the same time. This may work for some, but can be extremely inconvenient to others, or
  2. Re-stamp the time on your files before sending them off to your colleagues.

I chose the latter, which meant I had to come up with a way to restamp file times. Enter TimeStamp.

This is as basic a "Touch" program as you'll find. Just enter in the offset in days, hours and minutes (positive will push file times into the future, negative into the past), select your files, then hit "Go". Simple.

Each file selected (either a single file or a complete directory tree) has it's "Last Modified" time set to the current time plus the offset that you choose.

The program remembers the last offset you've set, the last 10 files and directories you've stamped, and it's last screen location.

Thanks to:

  • Chris Losinger - Drop Edit
  • Vladimir Kvashin, Girish Bharadwaj and Lars Klose - Directory picker class
  • Davide Calibro - Flat buttons

Download executable - 19 KB

Download source - 58 KB



Comments

  • CHyperLink Memory Leak

    Posted by Legacy on 08/07/2000 12:00am

    Originally posted by: Josee Oliviero

    The CHyperLink class used here and other with other applications written by Chris M. requires an additional 2-lines of code in the destructor to get rid of a memory leak.
    
    

    CHyperLink::~CHyperLink()
    {
    ............
    other code
    ............

    //if allocated, fee memory
    if(m_hLinkCursor)
    DestroyCursor(m_hLinkCursor);
    }

    Reply
  • Timestamp - A utility to change a files "Modified" time.

    Posted by Legacy on 01/19/1999 12:00am

    Originally posted by: Programmer Man

    See the free Properties Plus utility for improvements/enhancements that could be made.

    http://www.ne.jp/asahi/cool/kish/
    http://www.ne.jp/asahi/cool/kish/pplus165.exe

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • As all sorts of data becomes available for storage, analysis and retrieval - so called 'Big Data' - there are potentially huge benefits, but equally huge challenges...
  • The agile organization needs knowledge to act on, quickly and effectively. Though many organizations are clamouring for "Big Data", not nearly as many know what to do with it...
  • Cloud-based integration solutions can be confusing. Adding to the confusion are the multiple ways IT departments can deliver such integration...

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date