Date: Fri, 29 Mar 2024 09:47:59 +0100 (CET) Message-ID: <1247148298.111598.1711702079887@srvdoc.doc.ipesoft.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_111597_1016799184.1711702079887" ------=_Part_111597_1016799184.1711702079887 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
TIME %AddIntervalMono( TIME in TimeA, REAL in TimeR, )
TimeA | Absolute time. |
TimeR | Relative time. |
The function %AddIntervalMono adds relative time to absolute one. The re= sult will be influenced by the fact if the time offset was or was no= t in this interval. E.g., if 3 hours are added to 1:00 a.m., the result can= be 3:00 (advance to winter time), 4:00 or 5:00 a.m. (advance to summer tim= e) in Slovakia.
; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D ; Slovakia (country for this example) ; Time zone is UTC+1. ; There are summer [A] and winter [B] time (with time shifts). ; Summer time is from 29th March 2009 to 24th October 2009. ; A3:00:00 is changed to B2:00:00 on Sunday (25th October 2009). ; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 BEGIN =20 TIME _baseTime =20 TIME _addMono1 TIME _addMono2 =20 ; UTC 23:30:00 24.10.2009 _baseTime :=3D %StrToTimeEx("01:30:00 25.10.2009", "hh:mi:ss dd-mm-rrrr") =20 ; add 1 hour - result time 25-10-2009 A2:30:00.000 _addMono1 :=3D %AddIntervalMono(_baseTime, 3600) ; add 2 hour - result time 25-10-2009 B2:30:00.000 _addMono2 :=3D %AddIntervalMono(_baseTime, 7200) =20 END