I want to get the timestamp of the block in Seconds but eosjs library returns it in an iso string format. Is there a way to receive timestamp in seconds or convert the string to seconds?
Example: What I get:
block_time: '2021-03-12T05:45:56.000'
What I want:
block_time in seconds.