Hi,
I have a column with various strings in it representing time periods:
1w10h
19h36m
15h49m
22h36m
2mo2w
5mo1w
6d13h
where:
y = years
mo =months
w = weeks
d = days
h = hours
m = minutes
How would I go about stripping each string into columns such that it shows the following:
STRING YEARS MONTHS WEEKS DAYS HOURS MINUTES 1w10h 0 0 1 0 10 0 19h36m 0 0 0 0 19 36 15h49m 0 0 0 0 15 49 22h36m 0 0 0 0 22 36 2mo2w 0 2 2 0 0 0 5mo1w 0 5 1 0 0 0 6d13h 0 0 6 13 0 0
Any help appreciated.
Kind regards
Shaolin666
Bookmarks