How To Reference a Time on the Command Line (128723)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 4.0
  • Microsoft Visual SourceSafe for Windows 5.0
  • Microsoft Visual SourceSafe for Windows 6.0
  • Microsoft SourceSafe for Macintosh 3.04
  • Microsoft SourceSafe for Macintosh 3.1
  • Microsoft SourceSafe for MS-DOS 3.04
  • Microsoft SourceSafe for MS-DOS 3.1
  • Microsoft SourceSafe for UNIX 3.04
  • Microsoft SourceSafe for UNIX 3.1
  • Microsoft SourceSafe for Windows 3.04
  • Microsoft SourceSafe for Windows 3.1
  • Microsoft SourceSafe for Windows NT 3.04
  • Microsoft SourceSafe for Windows NT 3.1

This article was previously published under Q128723

SUMMARY

To reference a time along with the date in a SourceSafe command, reference both the time and the date by using the -vd switch.

For example, to list the history of the $/test project from 9am to 3pm on 3/3/95, use this command:

ss history $/test -vd3/03/95;3:00p~3/03/95;9:00a

In this command, 'a' or 'p' refers to AM or PM respectively. In addition, the '~' is used to indicate the history between the date and times specified.

The order of the date and time arguments are important. The later date and time should come first and the earlier date and time should come after the tilde. The second time argument should also be less than the actual time you want returned. For example, if you want the History back to "8:50", you should specify "8:49".

Modification Type:MinorLast Reviewed:7/1/2004
Keywords:kbhowto KB128723