native rM2M_GetDate(&year=0, &month=0, &day=0, timestamp=0);
If no time stamp was transferred (timestamp=0), the date (year, month, day) is determined for the
current system time (in UTC). Alternatively, the date (year, month, day) is determined for the
transferred time stamp.
Parameter
Explanation
year
Variable to store the year - OPTIONAL
Note:
The year specified relates to the 21st century, i.e. the value 14 refers to
the year 2014.
month
Variable to store the month - OPTIONAL
day
Variable to store the day - OPTIONAL
timestamp
Time stamp for which the date should be determined
= 0: The date for the current system time (in UTC) is determined.
> 0: The date for the transferred time stamp is determined.
(The time stamp must be specified in seconds since 31.12.1999.)
Explanation
Return value
l
timestamp = 0: Seconds since 31.12.1999 (current system time in UTC)
l
timestamp > 0: The transferred time stamp is returned.
native rM2M_GetDateTime(datetime[TrM2M_DateTime]);
Reads the current time (in UTC) and date from the system
Parameter
Explanation
datetime
Structure for storing a detailed breakdown of the date and time (see "TrM2M_
DateTime" in chapter "Arrays with symbolic indices" on page 119)
Explanation
Return value
l
OK, if successful
l
ERROR, if an invalid parameter was transferred
120
Rev. 05
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......