How to get the time from 1970(where time in PC starts) in sconds?