LD Time1
TIME_DINT_TO_STRING
ST Result_Str
Result_Str := TIME_DINT_TO_STRING(Time1);
Parameter
|
Type
|
Comment
|
---|---|---|
Time1
|
Duration to convert into character string format.
|
Parameter
|
Type
|
Comment
|
---|---|---|
Result_Str
|
Result_Str is a string of 15 characters containing a duration in the following format: HHHHHH:MM:SS.D.
Example: ’119304:38:49.5’
|
Field
|
Limits
|
Comment
|
---|---|---|
Year
|
[1990,2099]
|
Year
|
Month
|
[01,12]
|
The leading 0 is displayed; it can be omitted during data entry.
|
Day
|
[01,31]
|
For months 01/03/05/07/08/10/12
|
[01,30]
|
For months 04/06/09/11
|
|
[01,29]
|
For month 02 (leap years)
|
|
[01,28]
|
For month 02 (non-leap years)
|