SECSINCE edit macro

Macro name. SECSINCE Edit macro SECSINCE
users. HTML Netscape, possibly other applications. Author: David McRitchie
type. Edit Macro resides in SYS1.TSOCLIST for use with TSO
Edit Macro resides in d:\spfmacro  for use with SPF/PC
SECSINCE Interpret Netscape timestamp.
Related @time, tod, HTMLDOC

SECSINCE is useful in interpreting Netscape time stamps.  See the example below.  Accuracy has not subjected to any rigorous verification.


ISREDIT  SECSINCE   (no options processes all NX lines)

Some modification will be needed internally depending on your time zone. 

   /* time adjustment based on findings rather than reasoning */
   timestamp= substr(line,col,9); adj=22; local="UT" /* GMT */

   local = "EST"; adj = 16  /*adjustment for US Eastern Standard time*/
   local = "EDT"; adj = 17  /*adjustment for US Eastern Daylight time*/

Examples:

                                SPF/PC Print Screen  07:12 PM  06/17/97  Page 1
 SPF/PC(1) EDIT C:\NETSCAPE\BOOKMARK.HTM ----------------------- COLUMNS 001 072
 COMMAND อออ  print                                           SCROLL อออ CSR
 000872     <DT><A HREF="http://www.job-hunt.org/general.shtml" ADD_DATE="866593
 =NOTE=      866593448 = 1997/06/17 17:24:08 EDT
 =NOTE=      866593533 = 1997/06/17 17:25:33 EDT
 =NOTE=      866593474 = 1997/06/17 17:24:34 EDT
 000873     <DT><A HREF="http://www.hoovers.com/cgi-bin/show_file.cgi?sno=563891
 =NOTE=      866594497 = 1997/06/17 17:41:37 EDT
 =NOTE=      866594649 = 1997/06/17 17:44:09 EDT
 =NOTE=      866594505 = 1997/06/17 17:41:45 EDT
 000874     <DT><A HREF="http://www.jobtrack.com/jobguide/" ADD_DATE="866594773"
 =NOTE=      866594727 = 1997/06/17 17:45:27 EDT
 =NOTE=      866594727 = 1997/06/17 17:45:27 EDT
 =NOTE=      866594773 = 1997/06/17 17:46:13 EDT
 000875     <DT><A HREF="file:///d|/website/dmcrit~1/announce.htm" ADD_DATE="866
 =NOTE=      866599886 = 1997/06/17 19:11:26 EDT
 =NOTE=      866599886 = 1997/06/17 19:11:26 EDT
 =NOTE=      866599891 = 1997/06/17 19:11:31 EDT
 000876 </DL><p>
 ****** ******************************** BOTTOM OF DATA ************************


                                X SYSTEM        Tue Jun 17  7:12p
   7:12PM EDT = 19:12 EDT = 00:12 UTCTEM        Tue Jun 17  7:12p
Note line number 000876 shows a time of 02:11:31 and the print was done soon after at 7:12 PM EDT.  Universal Time (GMT) should be showing 1997/06/18 01:11 for 1997/06/17 19:11 EDT. Showing complete lines...

   <DT><A HREF="http://www.monster.com/" ADD_DATE="851414605"
    LAST_VISIT="866592682" LAST_MODIFIED="851414600">
    THE MONSTER BOARD</A>
     851414600 = 1996/12/25 01:03:20 EDT
     866592682 = 1997/06/17 17:11:22 EDT
     851414605 = 1996/12/25 01:03:25 EDT
   <DT><A HREF="http://www.wnjpin.state.nj.us/" ADD_DATE="851713056"                                                                                       "
    LAST_VISIT="856465900" LAST_MODIFIED="851713037">
    WORKFORCE NEW JERSEY PUBLIC INFORMATION NETWORK</A>
     851713037 = 1996/12/28 11:57:17 EDT
     856465900 = 1997/02/20 12:11:40 EDT
     851713056 = 1996/12/28 11:57:36 EDT
   <DT><A HREF="http://www.job-hunt.org/general.shtml"
    ADD_DATE="866593474" LAST_VISIT="866593533"
    LAST_MODIFIED="866593448">JobHunt: General Job Resources</A>
     866593448 = 1997/06/17 17:24:08 EDT
     866593533 = 1997/06/17 17:25:33 EDT
     866593474 = 1997/06/17 17:24:34 EDT
   <DT><A HREF="http://www.hoovers.com/cgi-bin/show_file.cgi
    ?sno=5638913&file=/profile_search.html" ADD_DATE="866594505"
    LAST_VISIT="866594649" LAST_MODIFIED="866594497">
    Hoover's Company Profiles</A>
     866594497 = 1997/06/17 17:41:37 EDT
     866594649 = 1997/06/17 17:44:09 EDT
     866594505 = 1997/06/17 17:41:45 EDT
   <DT><A HREF="http://www.jobtrack.com/jobguide/"
    ADD_DATE="866594773" LAST_VISIT="866594727"
    LAST_MODIFIED="866594727">
    The Riley Guide--Employment Opportunities and
    Job Resources on the Internet</A>
     866594727 = 1997/06/17 17:45:27 EDT
     866594727 = 1997/06/17 17:45:27 EDT
     866594773 = 1997/06/17 17:46:13 EDT
   <DT><A HREF="file:///d|/website/dmcrit~1/announce.htm"
    ADD_DATE="866599891" LAST_VISIT="866599886"
    LAST_MODIFIED="866599886">Announcements</A>
     866599886 = 1997/06/17 19:11:26 EDT
     866599886 = 1997/06/17 19:11:26 EDT
     866599891 = 1997/06/17 19:11:31 EDT

Comments and Related Information

Please send your comments concerning my pages or materials to:  David using send email comments

Disclaimer and site usage:  Material at The REXX Macros Toolbox is available without warranty of any kind.  Redistribution of source, coding and documentation other than from this site is prohibited.

Copyright © 1995 - 2006, F. David McRitchie, All Rights Reserved