How to convert ns formatted timestamp to normal format

nt {seconds: 1674027291, nanoseconds: 243000000}

hello and welcome back to fcc forum :slight_smile:

what “format” are you considering to be “normal”? also try looking into “Date()” constructor, happy learning :slight_smile:

1 Like