Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Timestamp conversion

$
0
0
Hello All,

I have a file with many timestamps as in below format & example:

Code:

20150130105120

2015-> Year in YYYY
01-> Month in MM
30-> Day in DD
10-> Hour in HH
51-> Minute in mm
20-> Seconds in SS

This is in GMT. I want to convert all these time stamps in GMT+5:30 format..

Can you please help me doing this?

This is Solaris10 box. GNU not installed..

BR
Nil

---------- Post updated at 04:29 PM ---------- Previous update was at 04:27 PM ----------

So the above example should look like below after example..
Code:

20150130162120

Viewing all articles
Browse latest Browse all 16232

Trending Articles