m4MSystemSetDateAndTimeUtc
System-Function: Set time and date in UTC (Universal Time Coordinated) time standard.
Description
This function sets the system date and time (broken down time, UTC) of the device.
Syntax
m4MSystemSetDateAndTimeUtc(connection, year, month, day, hour,...
minute, second, milliSecond, microSecond, dayOfWeek, dayOfYear)
result = m4MSystemSetDateAndTimeUtc(connection, year, month, day,...
hour, minute, second, milliSecond, microSecond, dayOfWeek, dayOfYear)
Input Arguments
connection defines the connection that will be used. The argument must be scalar and of type MlpiConnection.
year defines the year. The argument must be a scalar real numeric value.
month defines the month. The argument must be a scalar real numeric value.
day defines the day. The argument must be a scalar real numeric value.
hour defines the hour. The argument must be a scalar real numeric value.
minute defines the minute. The argument must be a scalar real numeric value.
second defines the second. The argument must be a scalar real numeric value.
milliSecond defines the millisecond. The argument must be a scalar real numeric value.
microSecond defines the microsecond. The argument must be a scalar real numeric value.
dayOfWeek defines the day of the week (Monday = 1). The argument must be a scalar real numeric value.
dayOfYear defines the day of the year (Jan. 1st = 1). The argument must be a scalar real numeric value.
Internally the real numeric values will be casted to uint16.
Output Arguments
result contains the return value of the MLPI function. The argument is scalar and of type int32. Negative values indicate a failed function call. For details refer to the section Error Identification and Handling in Fundamentals of MLPI Programming.
Example Files
Here you will find instructions to use the examples.
The following example is available in the folder ./mlpi/mlpi4MATLAB/bin:
See also
Reference to mlpiCore
This function maps to the mlpiCore function: mlpiSystemSetDateAndTimeUtc
Copyright
Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0