3 time(date + time), Time(date+time) – Metrohm tiBase 1.1 User Manual

Page 63

Advertising
background image

■■■■■■■■■■■■■■■■■■■■■■

2 General program functions

tiBase 1.1

■■■■■■■■

55

Note

UTC = Universal Time , from which the times in the various time zones
of the earth are derived. CET (Central European Time) is equal to UTC
plus 1 hour, in the summer time UTC plus 2 hours.

Examples
Time(2004;02;02) = 2004-02-02 00:00:00 UTC +1 (dependent on
the system time)

Time('CV.Test year';'CV.Test month';'CV.Test day') = Date com-
prised of the common variables

2.4.4.6.3

Time(Date + Time)

Dialog window: Formula editor

Operators/Functions

Syntax
y = Time(year; month; day; hour; minute; second)

Gives the entered numbers in the format Date/Time.

Parameters

year

00…99 or 1000…9999

month

1…12

day

1…31

hour

0…23

minute 0…59

second 0…59

A parameter can be indicated either directly as a number or as a variable
of the type Number. If the parameter does not correspond to the expec-
ted type, it will automatically be converted to this. If this is not possible,
the result of this operation is given as invalid.

Advertising