beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 366

background image

T

IME

(

H

,

M

,

S

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

350

T

IME

(

H

,

M

,

S

)

A

RGUMENT

T

YPE

D

ESCRIPTION

h

int

The hour to be encoded, from 0 to 23.

m

int

The minute to be encoded, from 0 to 59.

s

int

The second to be encoded, from 0 to 59.

D

ESCRIPTION

Returns a value representing the indicated time as the number of seconds elapsed since
midnight. This value can then be used with other time/date functions. It can also be added to
the value produced by

Date

to produce a value that references a particular time and date.

F

UNCTION

T

YPE

This function is passive.

R

ETURN

T

YPE

int.

E

XAMPLE

t := Date(2000,12,31) + Time(12,30,0)