Sfairadora

  • Reference Guide

Date and Time Functions

The functions described here are designed to manipulate with the types Time, Date, and Date_time (date together with time). As an alternative to these functions, the values of these types can be created and analyzed by typecasts to/from the definition types Time_def, Date_def, and Date_time_def. In addition to the function described here, it is possible to add and subtract these values. The addition can be used to construct the values of these types. For instance: 5 hr + 20 min (five hours and five minutes).
Note: Current date can be obtained from the system.date item of the system document (the type Date). Current time can be obtained from the item system.time (the type Time; the time in this item is updated in one-minute interval) or from system.time_sec (the type Time; the time in this item is updated in one-second interval).

Overview

●
day, days
●
date
●
hr
●
min
●
sec
●
time