I have a Unix timestamp (in fact many thousands of them) in a set of data files extracted from a robot. The format is up to 19 digits -
1529496076126711606
I need to extract the time in hours, minutes, seconds, microseconds
https://www.epochconverter.com/ will convert individual timestamps or batches, and gives details of the standard functions for various languages, but not the formula that I need to use or any link to Fortran functions that will do this. Can anybody help please?
I'm not interested in the date part (which I guess is the hard part of the computation) but not sure if the epoch string can be split neatly into data and time components. If it can, then extracting hh-mm-ss.ssssss ought to be simple.
If it helps, I know the date already, can do a back-conversion using https://www.epochconverter.com/ and subtract the date from the epoch value so that all I have left is the time.