home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / lib / libnet / bombdate.tcl next >
Encoding:
Text File  |  1998-04-08  |  934 b   |  25 lines

  1. #!/usr/local/bin/tcl -f
  2. # The contents of this file are subject to the Netscape Public License
  3. # Version 1.0 (the "NPL"); you may not use this file except in
  4. # compliance with the NPL.  You may obtain a copy of the NPL at
  5. # http://www.mozilla.org/NPL/
  6. #
  7. # Software distributed under the NPL is distributed on an "AS IS" basis,
  8. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  9. # for the specific language governing rights and limitations under the
  10. # NPL.
  11. #
  12. # The Initial Developer of this code under the NPL is Netscape
  13. # Communications Corporation.  Portions created by Netscape are
  14. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  15. # Reserved.
  16.  
  17.  
  18. # This takes a date string (fairly arbitrarily formatted), and spews out
  19. # a number suitable for pasting into the timebomb code.
  20.  
  21. foreach i $argv {
  22.     set num [convertclock $i]
  23.     puts "$num          [fmtclock $num]"
  24. }
  25.