TIME(3C) UNIX Programmer's Manual TIME(3C)
time, ftime - get date and time
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
l
\blo
\bon
\bng
\bg t
\bti
\bim
\bme
\be(
\b(0
\b0)
\b)
l
\blo
\bon
\bng
\bg t
\bti
\bim
\bme
\be(
\b(t
\btl
\blo
\boc
\bc)
\b)
l
\blo
\bon
\bng
\bg *
\b*t
\btl
\blo
\boc
\bc;
\b;
#
\b#i
\bin
\bnc
\bcl
\blu
\bud
\bde
\be <
\b<s
\bsy
\bys
\bs/
\b/t
\bty
\byp
\bpe
\bes
\bs.
\b.h
\bh>
\b>
#
\b#i
\bin
\bnc
\bcl
\blu
\bud
\bde
\be <
\b<s
\bsy
\bys
\bs/
\b/t
\bti
\bim
\bme
\beb
\bb.
\b.h
\bh>
\b>
f
\bft
\bti
\bim
\bme
\be(
\b(t
\btp
\bp)
\b)
s
\bst
\btr
\bru
\buc
\bct
\bt t
\bti
\bim
\bme
\beb
\bb *
\b*t
\btp
\bp;
\b;
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
T
\bTh
\bhe
\bes
\bse
\be i
\bin
\bnt
\bte
\ber
\brf
\bfa
\bac
\bce
\bes
\bs a
\bar
\bre
\be o
\bob
\bbs
\bso
\bol
\ble
\bet
\bte
\bed
\bd b
\bby
\by g
\bge
\bet
\btt
\bti
\bim
\bme
\beo
\bof
\bfd
\bda
\bay
\by(
\b(2
\b2)
\b).
\b.
_
\bT_
\bi_
\bm_
\be returns the time since 00:00:00 GMT, Jan. 1, 1970,
If _
\bt_
\bl_
\bo_
\bc is nonnull, the return value is also stored in the
place to which _
\bt_
\bl_
\bo_
\bc points.
The _
\bf_
\bt_
\bi_
\bm_
\be entry fills in a structure pointed to by its argu-
ment, as defined by <_
\bs_
\by_
\bs/_
\bt_
\bi_
\bm_
\be_
\bb._
\bh>:
* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* @(#)timeb.h7.1 (Berkeley) 6/4/86
* Structure returned by ftime system call
The structure contains the time since the epoch in seconds,
up to 1000 milliseconds of more-precise interval, the local
time zone (measured in minutes of time westward from
Greenwich), and a flag that, if nonzero, indicates that Day-
light Saving time applies locally during the appropriate
Printed 7/9/88 May 9, 1985 1
TIME(3C) UNIX Programmer's Manual TIME(3C)
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
date(1), gettimeofday(2), settimeofday(2), ctime(3)
Printed 7/9/88 May 9, 1985 2