こんにちは
UiPath Studio 2025.0.161 Community editionのユーザです。
代入アクティビティで
ts_TimeSpan1=TimeSpan.Parse("25:30:00")
を実行したら、下記のエラーが出ました。TimeSpan変数では24時間を超える時間を格納できないようです。
UiPathでは例えば、25時間 + 25時間30分 = 50時間30分 などという時間計算はできないのでしょうか?
System.InvalidOperationException: 'TimeSpan.Parse("25:30:00")' を 'ts_TimeSpan1' に割り当てられません。 ---> System.OverflowException: The TimeSpan string '25:30:00' could not be parsed because at least one of the numeric components is out of range or contains too many digits. at System.Globalization.TimeSpanParse.TimeSpanResult.SetOverflowFailure()
at System.Globalization.TimeSpanParse.ProcessTerminal_HM_S_D(TimeSpanRawInfo& raw, TimeSpanStandardStyles style, TimeSpanResult& result)
at System.Globalization.TimeSpanParse.ProcessTerminalState(TimeSpanRawInfo& raw, TimeSpanStandardStyles style, TimeSpanResult& result)
at System.Globalization.TimeSpanParse.TryParseTimeSpan(ReadOnlySpan`1 input, TimeSpanStandardStyles style, IFormatProvider formatProvider, TimeSpanResult& result)
at System.TimeSpan.Parse(String s)
