HOWTO: Reference a Time on the Command Line

Last reviewed: February 28, 1997
Article ID: Q128723
3.04 3.10 4.00 | 3.04 3.10 | 3.04 3.10 4.00 5.00 | 3.04 3.10 4.00 5.00
MS-DOS         | UNIX      | WINDOWS             | WINDOWS NT
MACINTOSH 3.04 3.10 kbusage kbhowto

The information in this article applies to:

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

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".


KBCategory: kbusage kbhowto
KBSubcategory: SourceSafe ss3 vss
Additional reference words: 3.10 4.00 5.00 get checkout
Keywords : SourceSafe ss3 vss kbhowto kbusage
Version : 3.04 3.10 4.00 | 3.04 3.10 | 3.0
Platform : MS-DOS NT UNIX WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.