beautypg.com

3 time(date + time), Time(date+time) – Metrohm viva 1.0 Manual User Manual

Page 66

background image

2.3 Formula editor

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

54

■■■■■■■■

viva 1.0

NOTE

Only the integral part is used for all parameters.

A variable of the Date/Time type cannot be transferred as a parameter
here.

Both for the automatic and explicit conversion of a Time to the Num-
ber
type, the number of days are counted since December 30, 1899
at 01 hours.

Attention: December 30, 1899 01 hours = 0.00000 days, this number
is rounded off to 5 decimal places, although a relational operation, for
example, is carried out using the exact value!

Return value
Date/Time in the yyyy-mm-dd hh:mm:ss UTC ±xx format

NOTE

UTC = Coordinated 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.TestYear';'CV.TestMonth';'CV.TestDay') = Date comprised
of the common variables

2.3.4.6.3

Time(Date + Time)

Dialog window: Formula editor

Operators/Functions

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

Returns the entered figures in the Date/Time format.

Parameters

year

00 - 99 or 1,000 - 9,999

month

1 - 12

day

1 - 31

hour

0 - 23