Is there a simple way to convert Epoch time to standard format with Ruby? If so can I customize the way it is displayed?
In a file I have n number of epoch time.
I have to convert the each epoch time into dd/mm/yy format.
eg: file1 content
1 aaa 1322625862.408
2 bbb 1322625848.954
3 ccc 1322625843.908
4 ddd 1322625865.436
Now I want to convert this epoch time.
Someone's help would be needful.
Thanks in advance!!!
Hi. I have timestamps that I am trying to convert to epoch time. An example:
I am trying to convert this to an epoch timestamp but have one little glitch.