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 » Date2Amiga

NAME

	Date2Amiga -- calculate seconds from 01-Jan-1978. (V36)

SYNOPSIS

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

FUNCTION

	Calculates the number of seconds from 01-Jan-1978 to the date
specified in the ClockData structure.

INPUTS

	date - pointer to a ClockData structure containing the date of
interest.

RESULT

	seconds	- the number of seconds from 01-Jan-1978 to the date specified.

WARNING

	This function does no sanity checking of the data in the ClockData
structure.

SEE ALSO

Amiga2Date(), CheckDate()

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:

Paradox

RZR
ANA
DC
PDX

Comments:

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