a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 utility.library
  AddNamedObject
  AllocNamedObjectA
  AllocateTagItems
  Amiga2Date
  ApplyTagChanges
  AttemptRemNamedObject
  CallHookPkt
  CheckDate
  CloneTagItems
  Date2Amiga
  FilterTagChanges
  FilterTagItems
  FindNamedObject
  FindTagItem
  FreeNamedObject
  FreeTagItems
  GetTagData
  GetUniqueID
  MapTags
  NamedObjectName
  NextTagItem
  PackBoolTags
  PackStructureTags
  RefreshTagItemClones
  ReleaseNamedObject
  RemNamedObject
  SDivMod32
  SMult32
  SMult64
  Stricmp
  Strnicmp
  TagInArray
  ToLower
  ToUpper
  UDivMod32
  UMult32
  UMult64
  UnpackStructureTags
Include
GuruMeditation
Docs » Autodocs » utility.library » CheckDate

NAME

	CheckDate -- checks a ClockData structure for legal date. (V36)

SYNOPSIS

	seconds = CheckDate(date);
D0 A0
ULONG CheckDate(struct ClockData *);

FUNCTION

	Determines if the ClockData structure contains legal date information
and returns the number of seconds from 01-Jan-1978 to that date, or 0
if the ClockData structure contains illegal data.

INPUTS

	date - a filled-in ClockData structure

RESULT

	seconds	- 0 if date is invalid, otherwise the number of seconds from
01-Jan-1978 to the date

BUGS

	The wday field of the ClockData structure is not checked.

SEE ALSO

Amiga2Date(), Date2Amiga()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

The Silents

TRSI
AFL
TSL
SPB

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se