String manipluation to time format

Hi,

I have a little problem with a string. I want to manipulate this from the string e.g. “2000” comes out as the time “20:00:00”. I already get this string out of an array using a split method. Maybe someone has an idea?

best regards
Jan

@JanLuetje,

From where this string(2000) is coming from?

Hi @MuralidharVankamaddi

my array looks like: “ABC_INT_OS_Windows_Full_PG3_M_Any_Wo1_Fr_2000-2400_A”

I split them by “_” after the split, i split “2000-2400” again. And then i need to manipluate these strings into a time format: “2000” → “20:00:00” and “2400” → “24:00:00”

best regards
Jan

stringToTimeSpan.xaml (4.6 KB)

try this.

Thanks!

2 Likes

Hi @kadiravan_kalidoss

It works!

Thank you very much! :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.