So I have a huge file of Unix Timestamps and I would like to convert these into a date.
This is how my .txt file looks.
1529837880,xx.xx,xx.
1529837940,xx.xx,xx.
1529838000,xx.xx,xx.
1529838060,xx.xx,xx.
1529838120,xx.xx,xx.
I already created a string that stores all these numbers.
the format I want should look like this:
20130616 060300;xx.xx,xx. // 2013 06 16 - 06:03
20130616 060400;xx.xx,xx.
20130616 060500;xx.xx,xx.
20130616 060600;xx.xx,xx.
20130616 060700;xx.xx,xx.
20130616 060800;xx.xx,xx.
my string looks like this
var str = """
1529837880,xx.xx,xx.
1529837940,xx.xx,xx.
1529838000,xx.xx,xx.
1529838060,xx.xx,xx.
1529838120,xx.xx,xx.
"""
So how would I do this?