1

codes in GUI:

datehour(2018.09.03 8:30:00)

runtime error:

2020.12.09 17:14:24.420: executing code ...
Both arguments of 'pair' must be a scalar

why?

1 Answers1

1

If you use the function datehour(), the month, date, hour, minute and second in its parameter must contain two digits. The correct code is shown as below:

datehour(2018.09.03 08:30:00)

And the result is:

2018.09.03T08