Re: A question regarding timing

From: Rush Austin (RushA@data-tech.com)
Date: Wed Feb 14 2001 - 04:53:56 PST

  • Next message: Mir16609@aol.com: "Re: A question regarding timing"

    > Does anyone know how to read the battery-powered clock directly?  
    > 
    
    Windows programmers have the Win32 Application Programming Interface (API)
    at their disposal.  The Win32 API offers the following function:
    
    Private Declare Sub GetSystemTime Lib "kernel32" (lpSystemTime As
    SYSTEMTIME)
    
    which loads a SYSTEMTIME structure with the current system time; given in
    UTC.  The SYSTEMTIME structure is defined as:
    
    Private Type SYSTEMTIME
            wYear As Integer
            wMonth As Integer
            wDayOfWeek As Integer
            wDay As Integer
            wHour As Integer
            wMinute As Integer
            wSecond As Integer
            wMilliseconds As Integer
    End Type
    
    This function and structure can be called/referenced from Visual Basic, C,
    C++, Access, FoxPro, etc...I cannot offer suggestions for other platforms.
    
    Clear Skies!
    
    Rush Austin
    Celo, NC
    35.855N -82.198W
    rusha@data-tech.com
     
    
    -----------------------------------------------------------------
    Unsubscribe from SeeSat-L by sending a message with 'unsubscribe'
    in the SUBJECT to SeeSat-L-request@lists.satellite.eu.org
    http://www2.satellite.eu.org/seesat/seesatindex.html
    



    This archive was generated by hypermail 2b29 : Wed Feb 14 2001 - 04:54:49 PST