Format the Unicode date

i am getting time in unicode format
5/10/2022 19:00:40.4 (unicode type)

i wan to format the unicode time

want the output like this
2022_5 (year and month i want )

how to format the unicode?

Have you looked at the system.date.parse() and system.date.format() functions?

2 Likes
time = system.date.parse(time,'M/dd/yyyy HH:mm:ss.S')
system.date.format(time, "yy/MM/dd")

got it thanks

1 Like