icsSpyTime Structure

Structure for GetRTC and SetRTC

C/C++ Declare

typedef struct
{
   unsigned char sec;
   unsigned char min;
   unsigned char hour;
   unsigned char day;
   unsigned char month;
   unsigned char year;
}icsSpyTime;

Visual Basic .NET Declare

<StructLayout(LayoutKind.Sequential, Pack:=8)> Public Structure icsSpyTime
   Dim sec As Byte
   Dim min As Byte
   Dim hour As Byte
   Dim day As Byte
   Dim month As Byte
   Dim year As Byte
End Structure

C# .NET Declare

[StructLayout(LayoutKind.Sequential,Pack=8)]
public struct icsSpyTime
{

   public byte sec;
   public byte min;
   public byte hour;
   public byte day;
   public byte month;
   public byte year;
}

Remarks

ItemDescription
sec Seconds place to read or set
min Minutes place to read or set
hour Hours place to read or set
day Day place to read or set
month Month place to read or set
year Year Place to read or set

IntrepidCS API   Documentation - (C) Copyright 2000-2022 Intrepid Control Systems, Inc.

Last Updated : Monday, June 29, 2020